From f75882dceecd1f89526e4db371555db3eb832682 Mon Sep 17 00:00:00 2001 From: matt rice Date: Wed, 16 Sep 2026 12:59:14 -0700 Subject: [PATCH] Minor editing of the multiple start rules section --- doc/src/parsing_startrules.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/parsing_startrules.md b/doc/src/parsing_startrules.md index 6240ccc29..d0ffdde9f 100644 --- a/doc/src/parsing_startrules.md +++ b/doc/src/parsing_startrules.md @@ -49,7 +49,7 @@ use lrlex::DefaultLexeme; ### Lexer -In our lexer we'll need to add a directive to advise that the checker that we expect the missing tokens. +In our lexer we'll need to add a directive to advise the checker that we expect the missing tokens. ``` %expect-missing "START_A" "START_B" @@ -93,8 +93,8 @@ fn main() { Finally we'll need to: -1. Run our input text through the parser. -2. Prepend the selected start token. +1. Run our input text through the lexer generating a list of output tokens. +2. Prepend the selected start token to the output tokens generated in the previous step. 3. Run the parser with the combined tokens. ```rust