mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
*** empty log message ***
This commit is contained in:
parent
59ea273e43
commit
fd4f9a170c
@ -1730,7 +1730,13 @@ get_number(int c, int c2) {
|
|||||||
c = get();
|
c = get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
while (c == 'L' || c == 'U') {
|
||||||
|
// We allow (and ignore) an 'L' and/or 'U' following the number.
|
||||||
|
c = get();
|
||||||
|
}
|
||||||
|
|
||||||
_last_c = c;
|
_last_c = c;
|
||||||
|
|
||||||
YYSTYPE result;
|
YYSTYPE result;
|
||||||
result.u.integer = strtol(num.c_str(), (char **)NULL, 16);
|
result.u.integer = strtol(num.c_str(), (char **)NULL, 16);
|
||||||
return CPPToken(INTEGER, first_line, first_col, first_file, num, result);
|
return CPPToken(INTEGER, first_line, first_col, first_file, num, result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user