From f74f81133465e942bbb5f369f1805c69ecc6a8b6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 3 Jan 2026 00:32:41 +0100 Subject: Fix documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- LICENSE | 2 +- libparser.7 | 4 ++-- 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 +© 2021, 2022, 2026 Mattias Andrée 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 -- cgit v1.2.3-70-g09d2