plugbee / dslforge

A generator of domain-specific language (DSL) editors for web applications and cloud IDEs.
78 stars 21 forks source link

grammar with underscore does not work in ACE/ANTLR #20

Closed juergenangele closed 8 years ago

juergenangele commented 8 years ago

In the example grammar I modified ID to

ID : ('a'..'z' | 'A'..'Z' ) ('a'..'z' | 'A'..'Z' | '0'..'9')* ;

I skipped the underscore.

Nevertheless I can create the following text in the created editor:

Hello _Hans

amlajmi commented 8 years ago

This issue and #11 have the same symptoms (the regonition of special characters). Commit https://github.com/plugbee/dslforge/commit/55d9f3553f2fd1e5ef1ae3a48a72908bce529ac1 already fixes #11 and #20