Red lexer stumbles on literals denoting whitespace chars #304

Closed
meijeru opened this Issue Nov 14, 2012 · 1 comment

Projects

None yet

2 participants

@meijeru
c: #"^(0A)"

-= Red Compiler =-
Compiling red/tests/mytest.red ...
[
    stack/mark _set
    word/push _c
    char/push 0
    word/set
    stack/unwind
    ------------| "c: #'00000000"
]

Likewise for 09 and 0D - the rest is OK

@dockimbel
Red Programming Language member

That would be the second or third time that I will be fixing this issue. I guess it is time to put it in the lexer tests. :-)

@dockimbel dockimbel added a commit that referenced this issue Nov 15, 2012
@dockimbel dockimbel FIX: issue #304 (Red lexer stumbles on literals denoting whitespace c…
…hars)

TESTS: fix invalid result for higher codepoint encoding in a string.
7a65df5
@dockimbel dockimbel closed this Nov 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment