Modify

Opened 2 years ago

Closed 2 years ago

#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 Changed 2 years ago by jchd18

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 Changed 2 years ago by Melba23

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.