Mantis Bug Tracker

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000059mSLDevSyntax Highlightingpublic2012-05-04 01:372012-07-21 17:53
ReporterMatt 
Assigned Toadministrator 
PriorityimmediateSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformWin7 64-bitOSWindows 7OS Version(6.1)
Product Version0.2.1.7 
Target VersionFixed in Version 
Summary0000059: Bug catching comments at the ends of a line.
DescriptionThe 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)
TagsNo tags attached.
Beta mIRC version?
mIRC Version
Attached Files

- Relationships

-  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
Powered by Mantis Bugtracker