FURCAS-dev / FURCAS

A Eclipse Language Workbench for view-based textual modelling based on EMF
http://www.furcas.org
11 stars 2 forks source link

ANTLR Escaping (#4) #22

Open StephanErb opened 12 years ago

StephanErb commented 12 years ago

template nam,es should be checked for overlap with ANTLR keywords, to prevent grammars being generated which can't be used by ANTLR

StephanErb commented 12 years ago

Stephan Erb (stephan@dev.static-void.de) wrote on 2011-08-19 19:29:18

We do also have to escape symbols. For example, it is not possible to use % as an operator. ANTLR thinks this starts a string template and then crashes.