aboutsummaryrefslogtreecommitdiffstats
path: root/libparser.7
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-03 00:32:41 +0100
committerMattias Andrée <m@maandree.se>2026-01-03 00:32:41 +0100
commitf74f81133465e942bbb5f369f1805c69ecc6a8b6 (patch)
treebd2acefebf0c1fc8a49da31a90141a201bc185e6 /libparser.7
parentUpdate e-mail (diff)
downloadlibparser-f74f81133465e942bbb5f369f1805c69ecc6a8b6.tar.gz
libparser-f74f81133465e942bbb5f369f1805c69ecc6a8b6.tar.bz2
libparser-f74f81133465e942bbb5f369f1805c69ecc6a8b6.tar.xz
Fix documentation
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libparser.74
1 files changed, 2 insertions, 2 deletions
diff --git a/libparser.7 b/libparser.7
index adb051f..ee0d552 100644
--- a/libparser.7
+++ b/libparser.7
@@ -48,7 +48,7 @@ _nonascii = <128, 255>;
(* WHITESPACE/COMMENTS, THE GRAMMAR IS FREE-FORM *)
_comment_char = _space | !\(dq*\(dq, !\(dq\e\(dq\(dq, <\(dq!\(dq, 0xFF>;
-_comment_tail = [_comment_char], [_string], (\(dq*)\(dq | _comment_tail | -);
+_comment_tail = [_comment_char], [_string], (\(dq*)\(dq | [*], _comment_tail | -);
_comment = \(dq(*\(dq, _comment_tail;
_ = {_space | _comment};
@@ -115,7 +115,7 @@ grammar = _, {rules, _};
.PP
.RE
The file must be encoded in UTF-8, with LF as the line
-break (CR and FF are illegal just becuase).
+break (CR and FF are illegal just because).
.PP
In alternations, the first (leftmost) match is selected.
The parser is able to backtrack incase it later turns