diff --git a/src/Boo.Lang.Parser/boo.g b/src/Boo.Lang.Parser/boo.g index 450bd42b9..00171f540 100755 --- a/src/Boo.Lang.Parser/boo.g +++ b/src/Boo.Lang.Parser/boo.g @@ -3436,10 +3436,16 @@ protected ID_SUFFIX: ; LINE_CONTINUATION: - '\\'! NEWLINE + '\\' + ( + NEWLINE + | (' ' | '\t')+ + | SL_COMMENT + | ML_COMMENT + )+ { $setType(Token.SKIP); } ; - + INT : ("0x"(HEXDIGIT)+)(('l' | 'L') { $setType(LONG); })? | DIGIT_GROUP diff --git a/src/Boo.Lang.Parser/wsaboo.g b/src/Boo.Lang.Parser/wsaboo.g index e936abaa5..d32f5623a 100755 --- a/src/Boo.Lang.Parser/wsaboo.g +++ b/src/Boo.Lang.Parser/wsaboo.g @@ -3167,9 +3167,15 @@ protected ID_SUFFIX: ; LINE_CONTINUATION: - '\\'! NEWLINE + '\\' + ( + NEWLINE + | (' ' | '\t')+ + | SL_COMMENT + | ML_COMMENT + )+ { $setType(Token.SKIP); } - ; + ; INT : ("0x"(HEXDIGIT)+)(('l' | 'L') { $setType(LONG); })? |