diff --git a/contributors.txt b/contributors.txt index c45f8519f..c9c5fd464 100644 --- a/contributors.txt +++ b/contributors.txt @@ -229,6 +229,7 @@ YYYY/MM/DD, github id, Full name, email 2019/07/11, olowo726, Olof Wolgast, olof@baah.se 2019/07/16, abhijithneilabraham, Abhijith Neil Abraham, abhijithneilabrahampk@gmail.com 2019/07/26, Braavos96, Eric Hettiaratchi, erichettiaratchi@gmail.com +2019/08/02, thron7, Thomas Herchenroeder, thron7[at]users[dot]sourceforge[dot]net 2019/08/12, easonlin404, Eason Lin, easonlin404@gmail.com 2019/08/23, akaJes, Oleksandr Mamchyts, akaJes@gmail.com 2019/08/27, wurzelpeter, Markus Franke, markus[hyphen]franke[at]web[dot]de diff --git a/doc/lexer-rules.md b/doc/lexer-rules.md index 540479805..6b4912118 100644 --- a/doc/lexer-rules.md +++ b/doc/lexer-rules.md @@ -25,7 +25,7 @@ fragment DIGIT : [0-9] ; // not a token by itself ## Lexical Modes -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).) +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).) ``` rules in default mode