From fc925ae7a5c6130db3f6327b451d16cdc18d003f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:57:33 +0100 Subject: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libparser.7 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libparser.7') diff --git a/libparser.7 b/libparser.7 index ee0d552..5b5b9b3 100644 --- a/libparser.7 +++ b/libparser.7 @@ -118,11 +118,11 @@ The file must be encoded in UTF-8, with LF as the line 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 +The parser is able to backtrack in case it later turns out that it could not finish that branch. Whenever an exception is reached, the parser will terminate there. .PP -Repeated symbols may occour any number of times, +Repeated symbols may occur any number of times, including zero. The compiler is able to backtrack if it takes too much. .PP @@ -153,7 +153,7 @@ recursion is always met). .SS Right-context-sensitive grammar libparser originally used context-free grammar, but with introduction of the rejection rule, specifically the ability -to reject a rejection, it became a prase for +to reject a rejection, it became a phrase for right-context-sensitive grammar which is a grammar that is that can generate any context-sensitive language, it is however weakly equivalent to context-sensitive grammar. -- cgit v1.2.3-70-g09d2