matthiasblaesing commented on PR #6091:
URL: https://github.com/apache/netbeans/pull/6091#issuecomment-1596236545

   Totally not a Rust expert here, but to me the specification implies, that 
`'x` is a lifetime or loop label, while `'` is not. The lexer has to split the 
cases:
   
   - `'` - a lonely single quote
   - `'dummy` - a singlequote followed by characters, that can be used as 
identifiers
   - `'d'` - a single quote followed by a character, followed by a single quote
   
   This is decideable with a look ahead of 2. This should be trivial for the 
code generation of antlr.
   
   While reading your reply I realise, that the currently used grammar does not 
map lifetimes at all. That needs to be handled later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to