summary refs log tree commit diff
path: root/src/grammar/RustLexer.g4
AgeCommit message (Collapse)AuthorLines
2015-09-03Use consistent terminology for byte string literalsVadim Petrochenkov-4/+4
Avoid confusion with binary integer literals and binary operator expressions in libsyntax
2015-05-05Declare other tokens used later in the reference grammarCarol Nichols-3/+3
There were some tokens used in the grammar but not declared. Antlr doesn't really seem to care and happily uses them, but they appear in RustLexer.tokens in a potentially-unexpected order.
2015-05-05Correct a typo in a declared token in the reference grammarCarol Nichols-1/+1
This appears to not have too much of a detrimental effect, but it doesn't seem to be what is intended either. antlr doesn't mind that `PLUS` isn't declared in `tokens` and happily uses the `PLUS` that appears later in the file, but the generated RustLexer.tokens had PLUS at the end rather than where it was intended: NOT=10 TILDE=11 PLUT=12 MINUS=13 ... PLUS=56
2015-04-21Model lexer: Fix remaining issuesPiotr Czarnecki-65/+47
2015-04-19Finished unicode support in the model lexer.Piotr Czarnecki-1/+1
Completed XID_Start and XID_Continue rules
2015-04-19Add proper XID_Start and XID_Continue rules and use CharPos for span ↵Florian Hahn-6/+2
comparison, closes #15679
2015-01-13Handle question marks in model lexer, closes #15879Florian Hahn-0/+5
2014-12-30Handle function calls to integers in model lexer correctlyFlorian Hahn-2/+58
closes #15877
2014-12-29Handle range in model lexer correctly #15877Florian Hahn-1/+2
2014-11-20Adjust Antlr4 lexer to include suffixes.Huon Wilson-29/+15
This makes the formal lexical grammar (more closely) reflect the one implemented by the compiler.
2014-09-29Update ANTLR float suffix grammarPatrick Reisert-2/+1
- Removes f128 from the grammar, which is no longer support in rustc - The fragment modifier is added so it won't parse float suffix as a separate token
2014-07-21Byte/raw binary literal fixesCorey Richardson-2/+7
2014-07-21Refine the tooling, handle commentsCorey Richardson-19/+4
2014-07-21First pass at line comment correctnessCorey Richardson-15/+30
2014-07-21Lexer; subtly wrong; no makefileCorey Richardson-0/+165