Ticket #166 (closed defect: worksforme)
LexerError when nesting single quotes in Strings
Reported by: | webnov8 | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
The compilation error: "error: Expecting COMMA, but got "'" (SINGLE_QUOTE) instead." is raised when using escaped single-quoted characters.
For example:
print '\''
Current workaround is to use a temp variable containing the single quote, like:
single = c'\'' print '[single]'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.