aboutsummaryrefslogtreecommitdiffstats
path: root/libparser.7
diff options
context:
space:
mode:
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