diff options
author | Patrick McHardy <kaber@trash.net> | 2015-01-11 23:59:10 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2015-01-11 23:59:10 +0000 |
commit | 69a54250650b9566470e62f39296ecb2b5010f84 (patch) | |
tree | ee80944c766fee8182084ae395989095d81f6673 /doc | |
parent | b17e27f472adc2e82582d90df0111d5b95c8afe0 (diff) |
parser: properly fix handling of large integer values
Introduction of the ERROR symbol is an ugly hack. There's no reason
to special case large integer values, the NUM token only exists for
small values that are needed immediately, everything else is passed
as EXPR_SYMBOL to evaluation anyways.
Additionally the error reporting is different from what we'd usually
report, the token is easy to confuse with the bison internal error
token and it even has a name, messing up bison internal diagnostics.
Simply return values to large to be handled by strtoull as STRING.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions