aboutsummaryrefslogtreecommitdiffstats
path: root/libparser.7
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-19 11:56:08 +0200
committerMattias Andrée <maandree@kth.se>2021-04-19 11:56:08 +0200
commit77ca25bfb0ec92303ada71400e298840ea4ba4ff (patch)
tree211b90450992a85591241009a98fdde599267c4e /libparser.7
parentFix grammar doc: _comment_char: reject double quote (diff)
downloadlibparser-77ca25bfb0ec92303ada71400e298840ea4ba4ff.tar.gz
libparser-77ca25bfb0ec92303ada71400e298840ea4ba4ff.tar.bz2
libparser-77ca25bfb0ec92303ada71400e298840ea4ba4ff.tar.xz
Fix grammar doc: _comment: do not accept characters lower than regular blank space
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libparser.72
1 files changed, 1 insertions, 1 deletions
diff --git a/libparser.7 b/libparser.7
index 406f6ca..c81f746 100644
--- a/libparser.7
+++ b/libparser.7
@@ -68,7 +68,7 @@ _escape_simple = \(dq\e\e\(dq | \(dq\e\(dq\(dq | \(dq'\(dq | \(dqa\(dq | \(dqb
_escape_hex = (\(dqx\(dq | \(dqX\(dq), _xdigit, _xdigit;
_escape_octal = _octal, {_octal}; (* May not exceed 255 in base 10 *)
_escape = _escape_simple | _escape_hex | _escape_octal | -;
-_character = \(dq\e\e\(dq, _escape | !\(dq\e\(dq\(dq, <1, 0xFF>;
+_character = \(dq\e\e\(dq, _escape | !\(dq\e\(dq\(dq, <\(dq \(dq, 0xFF>;
_string = \(dq\e\(dq\(dq, _character, {_character}, (\(dq\e\(dq\(dq | -);
string = _string;