We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For some reason single quotes in comments break compilation. For example:
div // this is a valid comment p 'This is a paragraph.'
compiles fine, but this doesn't:
div // this isn't a valid comment p 'This is a paragraph.'
It returns this error: SyntaxError: SIML: Line 2, column 3: Expected "(", ":", "[", "}", AttributeName, Directive, HTML, String, [#.], [\r\n\t ], [a-z0-9_\-]i or [a-zA-Z_$] but "/" found.
SyntaxError: SIML: Line 2, column 3: Expected "(", ":", "[", "}", AttributeName, Directive, HTML, String, [#.], [\r\n\t ], [a-z0-9_\-]i or [a-zA-Z_$] but "/" found.
I took a look through the source and I think the issue is caused by having the string tokens replaced before the comments are removed. Would it brealk anything to move the comment removal before the string tokens are replaced?
The text was updated successfully, but these errors were encountered:
Same issue happens with double-quotes.
Sorry, something went wrong.
No branches or pull requests
For some reason single quotes in comments break compilation. For example:
compiles fine, but this doesn't:
It returns this error:
SyntaxError: SIML: Line 2, column 3: Expected "(", ":", "[", "}", AttributeName, Directive, HTML, String, [#.], [\r\n\t ], [a-z0-9_\-]i or [a-zA-Z_$] but "/" found.
I took a look through the source and I think the issue is caused by having the string tokens replaced before the comments are removed. Would it brealk anything to move the comment removal before the string tokens are replaced?
The text was updated successfully, but these errors were encountered: