Menu

#778 Inside of quotes double slash is still parsed as a comment

Version 4.0 RC1
assigned
None
Core
major
3.0
defect
2016-05-15
2013-09-24
No

In the GLM, assigning a string literal containing a double slash (//) causes an error becauses the parser sees this as the start of a comment. I happened to me when trying to assign an URL to a variable.

module zzz {

URL "<htp: localhost="">"; </htp:>

}

Discussion

  • David P. Chassin

    It is an unfortunately flaw in the design of the parser that comments are handled during buffer loading before macros are expanded and before the main parser runs. This could be somewhat hard to fix.

     
  • David P. Chassin

    • Owner: Jason Fuller --> David P. Chassin
    • Status: new --> assigned
    • Milestone: Version 3.1 RC1 --> Unscheduled
     
  • David P. Chassin

    • Milestone: Unscheduled --> Version 4.0 RC1