]> ocean-lang.org Git - ocean/commitdiff
parsergen: fix a couple of typos in text. linebreakparser
authorNeilBrown <neilb@suse.de>
Sun, 4 May 2014 10:41:50 +0000 (20:41 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 4 May 2014 10:41:50 +0000 (20:41 +1000)
Signed-off-by: NeilBrown <neilb@suse.de>
csrc/parsergen.mdc

index 6a6a316309df16aafc96ae62490d203bb4e11954..1bb813e78318d20e6285db273abdae2d0086c7b4 100644 (file)
@@ -891,7 +891,7 @@ compute it in a repetitive manner similar to `set_nullable`.
 ### Building the `first` sets
 
 When calculating what can follow a particular non-terminal, we will need to
-know what the "first" terminal in an subsequent non-terminal might be.  So
+know what the "first" terminal in any subsequent non-terminal might be.  So
 we calculate the `first` set for every non-terminal and store them in an
 array.  We don't bother recording the "first" set for terminals as they are
 trivial.
@@ -2370,7 +2370,7 @@ that we shift when we can, and reduce when we cannot.  So the `shift`
 function reports if it could.
 
 So `shift` finds the next state.  If that succeed it extends the allocations
-if needed and pushed all the information onto the stacks.
+if needed and pushes all the information onto the stacks.
 
 ###### parser functions