fixed \u in lexer
This commit is contained in:
parent
d2de0ef10d
commit
effd225a84
@ -383,7 +383,7 @@ SQInteger SQLexer::ReadString(SQInteger ndelim,bool verbatim)
|
|||||||
break;
|
break;
|
||||||
case _SC('U'):
|
case _SC('U'):
|
||||||
case _SC('u'): {
|
case _SC('u'): {
|
||||||
const SQInteger maxdigits = x == 'u' ? 4 : 8;
|
const SQInteger maxdigits = CUR_CHAR == 'u' ? 4 : 8;
|
||||||
SQChar temp[8 + 1];
|
SQChar temp[8 + 1];
|
||||||
ProcessStringHexEscape(temp, maxdigits);
|
ProcessStringHexEscape(temp, maxdigits);
|
||||||
SQChar *stemp;
|
SQChar *stemp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user