aboutsummaryrefslogtreecommitdiff
path: root/GnuLdLexer.g4
diff options
context:
space:
mode:
Diffstat (limited to 'GnuLdLexer.g4')
-rw-r--r--GnuLdLexer.g42
1 files changed, 1 insertions, 1 deletions
diff --git a/GnuLdLexer.g4 b/GnuLdLexer.g4
index fba488e..a02a8e4 100644
--- a/GnuLdLexer.g4
+++ b/GnuLdLexer.g4
@@ -147,7 +147,7 @@ fragment
INT_NUMBER : INT_HEX
| INT_DECIMAL;
fragment
-INT_HEX : '0x' [0-9a-fA-F]+;
+INT_HEX : '0' ('X' | 'x') [0-9a-fA-F]+;
fragment
INT_DECIMAL : [0-9]+;
fragment