Ticket #168 (closed defect: fixed)
Empty character literal error when using double quotes
Reported by: | webnov8 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
When using the 'c' character prefix for character literals both single and double quotes should be allowed
print c"\'" # this works print c"'" # error: Empty character literal # error: Unexpected symbol "<internal>" # error: Too many characters in character literal # error: Preprocessor directives must appear as the first non-whitespace character on a line # error: Expected catch or finally
Change History
Note: See
TracTickets for help on using
tickets.