Why doesn't my definition of string or comment does not match all characters in my input or why aren't my tokens defined by string literals matched by the lexer?

Terence Parr

Set the char vocabulary to include all characters in your input stream. Usually, you want charVocab='3'..'377'; in the lexer options section.

Make sure that you have not turned off literals testing with testLiterals=false.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact