summaryrefslogtreecommitdiff
path: root/util/cbfstool/fmd_scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/fmd_scanner.l')
-rw-r--r--util/cbfstool/fmd_scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/fmd_scanner.l b/util/cbfstool/fmd_scanner.l
index efcd342290..82969594a7 100644
--- a/util/cbfstool/fmd_scanner.l
+++ b/util/cbfstool/fmd_scanner.l
@@ -34,7 +34,7 @@ MULTIPLIER [KMG]
0{MULTIPLIER}? |
[1-9][0-9]*{MULTIPLIER}? return parse_integer(yytext, 10);
0[0-9]+{MULTIPLIER}? return OCTAL;
-0[xX][0-9a-f]+{MULTIPLIER}? return parse_integer(yytext + 2, 16);
+0[xX][0-9a-fA-F]+{MULTIPLIER}? return parse_integer(yytext + 2, 16);
[^#@{}()[:space:]]* return copy_string(yytext);
. return *yytext;