diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-04-14 20:47:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-04-14 20:47:59 -0700 |
commit | 4c97482494e6170733f4b2143199cff3abec5419 (patch) | |
tree | 8e609fb6ea8912ce92092f33cce2f70da50e1a0b /parser.y | |
parent | f1a5e50f78927a362f244f0adfc1d23813c93073 (diff) | |
download | txr-4c97482494e6170733f4b2143199cff3abec5419.tar.gz txr-4c97482494e6170733f4b2143199cff3abec5419.tar.bz2 txr-4c97482494e6170733f4b2143199cff3abec5419.zip |
Diagnose trailing junk in numeric literals.
* parser.l: Combining the handling of hex, octal and binary numeric
literals into a single rule. Implementing an additional rule which
diagnoses such tokens that have trailing junk. Thus, something
like #x1F2AZ is now invalid syntax.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions