From cb3decc0b8d8c6300b7f591f13d5219314a0e3c0 Mon Sep 17 00:00:00 2001 From: Ryan Goree Date: Sun, 5 May 2024 00:40:01 -0500 Subject: [PATCH] chore: Patch syntax-reference.md (#478) The non-escaped chars were causing the last lines to get rendered together. --- doc/syntax-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/syntax-reference.md b/doc/syntax-reference.md index eb0145db..f98c2cc1 100644 --- a/doc/syntax-reference.md +++ b/doc/syntax-reference.md @@ -168,11 +168,11 @@ as well as multiline (`/* */`) comments like: caseInsensitive<terminal>: Matches _terminal_, but ignoring any differences in casing (based on the simple, single-character Unicode case mappings). E.g., `caseInsensitive<"ohm">` will match `'Ohm'`, `'OHM'`, etc. -ListOf<elem, sep>: Matches the expression _elem_ zero or more times, separated by something that matches the expression _sep_. E.g., `ListOf` will match `''`, `'a'`, and `'a, b, c'`. +ListOf<elem, sep>: Matches the expression _elem_ zero or more times, separated by something that matches the expression _sep_. E.g., `ListOf<letter, ","$gt;` will match `''`, `'a'`, and `'a, b, c'`. NonemptyListOf<elem, sep>: Like `ListOf`, but matches _elem_ at least one time. -listOf<elem, sep>: Similar to `ListOf` but interpreted as [lexical rule](#syntactic-lexical). +listOf<elem, sep>: Similar to `ListOf<elem, sep>` but interpreted as [lexical rule](#syntactic-lexical). applySyntactic<ruleName>: Allows the syntactic rule _ruleName_ to be applied in a lexical context, which is otherwise not allowed. Spaces are skipped _before_ and _after_ the rule application. _New in Ohm v16.1.0._