Skip to content

Commit abec175

Browse files
authored
Merge pull request #2616 from thron7/patch-1
(minor) word slip 'each'
2 parents a4f0cf1 + cc5e71c commit abec175

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ YYYY/MM/DD, github id, Full name, email
229229
2019/07/11, olowo726, Olof Wolgast, olof@baah.se
230230
2019/07/16, abhijithneilabraham, Abhijith Neil Abraham, abhijithneilabrahampk@gmail.com
231231
2019/07/26, Braavos96, Eric Hettiaratchi, erichettiaratchi@gmail.com
232+
2019/08/02, thron7, Thomas Herchenroeder, thron7[at]users[dot]sourceforge[dot]net
232233
2019/08/12, easonlin404, Eason Lin, easonlin404@gmail.com
233234
2019/08/23, akaJes, Oleksandr Mamchyts, akaJes@gmail.com
234235
2019/08/27, wurzelpeter, Markus Franke, markus[hyphen]franke[at]web[dot]de

doc/lexer-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fragment DIGIT : [0-9] ; // not a token by itself
2525

2626
## Lexical Modes
2727

28-
Modes allow you to group lexical rules by context, such as inside and outside of XML tags. It’s like having multiple sublexers, one for context. The lexer can only return tokens matched by entering a rule in the current mode. Lexers start out in the so-called default mode. All rules are considered to be within the default mode unless you specify a mode command. Modes are not allowed within combined grammars, just lexer grammars. (See grammar `XMLLexer` from [Tokenizing XML](http://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference).)
28+
Modes allow you to group lexical rules by context, such as inside and outside of XML tags. It’s like having multiple sublexers, one for each context. The lexer can only return tokens matched by entering a rule in the current mode. Lexers start out in the so-called default mode. All rules are considered to be within the default mode unless you specify a mode command. Modes are not allowed within combined grammars, just lexer grammars. (See grammar `XMLLexer` from [Tokenizing XML](http://pragprog.com/book/tpantlr2/the-definitive-antlr-4-reference).)
2929

3030
```
3131
rules in default mode

0 commit comments

Comments
 (0)