Commit 02706fee authored by Claes Sjofors's avatar Claes Sjofors

wbl lexer, \x added to string literal

parent c9ca6ff4
...@@ -2952,6 +2952,11 @@ void wb_wbllexer::mESC(bool _createToken) { ...@@ -2952,6 +2952,11 @@ void wb_wbllexer::mESC(bool _createToken) {
match('f' /* charlit */ ); match('f' /* charlit */ );
break; break;
} }
case 0x78 /* 'x' */ :
{
match('x' /* charlit */ );
break;
}
case 0x22 /* '\"' */ : case 0x22 /* '\"' */ :
{ {
match('\"' /* charlit */ ); match('\"' /* charlit */ );
......
...@@ -166,6 +166,7 @@ ESC : '\\' ...@@ -166,6 +166,7 @@ ESC : '\\'
| 't' | 't'
| 'b' | 'b'
| 'f' | 'f'
| 'x'
| '"' | '"'
| '0' | '0'
| '\'' | '\''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment