projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: invalid integer suffix parsing
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-lexer.l
diff --git
a/formats/ctf/metadata/ctf-lexer.l
b/formats/ctf/metadata/ctf-lexer.l
index 12f9e99cfada44ced62420438727997ed686e23c..92caf3fd5cb059b05e9f130671ae87494b766551 100644
(file)
--- a/
formats/ctf/metadata/ctf-lexer.l
+++ b/
formats/ctf/metadata/ctf-lexer.l
@@
-58,7
+58,7
@@
int import_string(struct ctf_scanner *scanner, YYSTYPE *lvalp, const char *src,
%option reentrant yylineno noyywrap bison-bridge
%option extra-type="struct ctf_scanner *"
/* bison-locations */
%option reentrant yylineno noyywrap bison-bridge
%option extra-type="struct ctf_scanner *"
/* bison-locations */
-INTEGER_SUFFIX
[ \r\n\t]*
(U|UL|ULL|LU|LLU|Ul|Ull|lU|llU|u|uL|uLL|Lu|LLu|ul|ull|lu|llu)
+INTEGER_SUFFIX (U|UL|ULL|LU|LLU|Ul|Ull|lU|llU|u|uL|uLL|Lu|LLu|ul|ull|lu|llu)
DIGIT [0-9]
NONDIGIT [a-zA-Z_]
HEXDIGIT [0-9A-Fa-f]
DIGIT [0-9]
NONDIGIT [a-zA-Z_]
HEXDIGIT [0-9A-Fa-f]
This page took
0.023169 seconds
and
4
git commands to generate.