diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-01 06:42:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-01 06:42:09 -0700 |
commit | 0a9b3727bb246db12eaa22e6081358dde43318b5 (patch) | |
tree | 1b32e33b99ff04345de2d1547c2c248bba4fde79 /METALICENSE | |
parent | b9a7ca98b2e154ec2e3a7490f9838e1fddd72f52 (diff) | |
download | txr-0a9b3727bb246db12eaa22e6081358dde43318b5.tar.gz txr-0a9b3727bb246db12eaa22e6081358dde43318b5.tar.bz2 txr-0a9b3727bb246db12eaa22e6081358dde43318b5.zip |
Revamp bad character messages in lexer.
* parser.l (grammar): Drop colon from unrecognized escape
message. "bad character in directive" handles various cases to
avoid printing junk to the terminal. Basic message harmonizes
with the one in the yybadtoken function in the parser.
Non-UTF-8 byte printed as TXR hex integer literal.
Diffstat (limited to 'METALICENSE')
0 files changed, 0 insertions, 0 deletions