Modify

#3646 closed Bug (No Bug)

unclosed comments start directive inside of comment section results in error

Reported by: genius257 Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

The following code

#comments-start
#comments-start
some comment text
#comments-end

Results in

Error: Unterminated group of comments.

Shouldn't anything other than a comment-end directive be ignored within a comment section?

Attachments (0)

Change History (2)

comment:1 by jchd18, on Jul 19, 2018 at 1:40:59 AM

It seems #cs & #ce somehow nest: it appears you need as many #ce as #cs. If you have one more of any of #cs or #ce, the interpretor barks. Here it complains about "extra":

#comments-start
#comments-start
#comments-start
  some comment text
#comments-end
  another comment
#comments-end
  final comment
#comments-end
  extra
#comments-end

I wouldn't qualify this behavior as "bug": say "feature".

comment:2 by Melba23, on Jul 19, 2018 at 8:23:05 AM

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.