diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 15:51:43 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 15:51:43 -0800 |
commit | cb0c0a6144346521d6cf3b02703ba15f67b9b4f3 (patch) | |
tree | e023920384a808a8b412f7e524bb5767e42e9724 /txr.1 | |
parent | d3069e9fabe241d6f6c3bc659902e4191bfd5e08 (diff) | |
download | txr-cb0c0a6144346521d6cf3b02703ba15f67b9b4f3.tar.gz txr-cb0c0a6144346521d6cf3b02703ba15f67b9b4f3.tar.bz2 txr-cb0c0a6144346521d6cf3b02703ba15f67b9b4f3.zip |
* parser.l (num_esc): Skip octal indicator 'o' if present.
This is needed for character constants.
(CHRLIT): Fix broken hex constants, being treated as octal.
* txr.1: Document octal character constants.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1033,9 +1033,10 @@ useful for labeling information and situations. Character literals are introduced by the #\e syntax, which is either followed by a character name, the letter x followed by hex digits, -or a single character. Valid character names are: nul, alarm, backspace, tab, -linefeed, newline, vtab, page, return, esc, space. This convention -for character literals is similar to that of the Scheme language. +the letter o followed by octal digits, or a single character. Valid character +names are: nul, alarm, backspace, tab, linefeed, newline, vtab, page, return, +esc, space. This convention for character literals is similar to that of the +Scheme language. .SS String Literals |