nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

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

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

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\;

}

,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":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.

,

"dchassin":- Owner: Jason Fuller --> David P. Chassin