| Anonymous | Login | Signup for a new account | 2023-09-10 00:25 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | My Account |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000059 | mSLDev | Syntax Highlighting | public | 2012-05-04 01:37 | 2012-07-21 17:53 | |||
| Reporter | Matt | |||||||
| Assigned To | administrator | |||||||
| Priority | immediate | Severity | block | Reproducibility | always | |||
| Status | closed | Resolution | no change required | |||||
| Platform | Win7 64-bit | OS | Windows 7 | OS Version | (6.1) | |||
| Product Version | 0.2.1.7 | |||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000059: Bug catching comments at the ends of a line. | |||||||
| Description | The client is unable to catch if a comment is at the end of a line, like so: if (%exparam == 1 || %exparam == exp) { var %overtype = exp } ; @exp (Show experience) | |||||||
| Tags | No tags attached. | |||||||
| Beta mIRC version? | ||||||||
| mIRC Version | ||||||||
| Attached Files | ||||||||
Notes |
|
|
(0000018) administrator (administrator) 2012-05-06 03:12 edited on: 2012-05-06 03:16 |
That's not a bug. It should be "} | ; comment" and the comment will span all the way to the next pipe (or end of line, whichever is first). mIRC is buggy when it comes to brackets: Try this: alias test { if (1) { noop } echo -a I will print (1) if (0) { noop } echo -a I will not (2) if (1) { noop } | echo -a I will print (3) if (0) { noop } | echo -a I will print (4) } The pipe is actually required. Otherwise the behavior is undefined. (It was actually changed around 6.2 or so, so it's also be unreliable. I highly advise not relying on this working as you expect in future versions of mIRC.) |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-04 01:37 | Matt | New Issue | |
| 2012-05-06 03:12 | administrator | Note Added: 0000018 | |
| 2012-05-06 03:16 | administrator | Note Edited: 0000018 | View Revisions |
| 2012-07-21 17:53 | administrator | Status | new => closed |
| 2012-07-21 17:53 | administrator | Assigned To | => administrator |
| 2012-07-21 17:53 | administrator | Resolution | open => no change required |
| Copyright © 2000 - 2011 MantisBT Group |