Wilfred / bison-mode

Emacs major mode for Bison/Jison, Yacc and Lex grammars
27 stars 21 forks source link

doesn't recognize char literals #4

Open tesch1 opened 9 years ago

tesch1 commented 9 years ago

i think this is the fix:

(defvar bison--word-constituent-re "\\(\\sw\\|_\\)\\|\\('.'\\)")

although maybe it should go in bison--production-re ?

try this:

rule:
          'h' 'e' 'l' 'l' 'o' {}
         | sym1 {}
         ;