simpler octal escape pattern
This commit is contained in:
parent
5615c5781d
commit
50480d80b4
@ -143,7 +143,7 @@ L?\" {
|
||||
char v[2] = {(char)val, '\0'};
|
||||
String_concat(build_string, v);
|
||||
}
|
||||
\\[0-7][0-7]?[0-7]? {
|
||||
\\[0-7]{1,3} {
|
||||
/* octal escape code */
|
||||
unsigned int val;
|
||||
(void)sscanf(yytext + 1, "%o", &val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user