aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LICENSE2
-rw-r--r--libparser.74
2 files changed, 3 insertions, 3 deletions
diff --git a/LICENSE b/LICENSE
index 1f6d84a..eff6930 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
ISC License
-© 2021, 2022 Mattias Andrée <m@maandree.se>
+© 2021, 2022, 2026 Mattias Andrée <m@maandree.se>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
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