Re: [CEDET-devel] bison->wisent
Brought to you by:
zappo
From: David P. <Dav...@wa...> - 2002-09-12 10:08:47
|
Hi Eric, > I got your changes from CVS, and now my parse fails in the lexer on > this rule: [...] > in particular, it dies on the '=3D' in the comment. > I changed the comment regexp for semantic only as I had specified in > my previous message and it started working again. I committed a new version of semantic-grammar.el/wy that fixes that. I finally followed your suggestions and set `semantic-lex-comment-regex' to ";;", and added '=3F' and '\' as quote characters in the character table ;-) I also fixed some font lock regexps. The change log is at end. [...] > I see. It makes sense, perhaps, to shift from lower to upper case. > It would be nice to have consistency. > > As .y files do not have these conveniences with built in names, > it might make sense to eliminate them. In the same vein, it is nice > to have conveniences when developing something new. Agreed. [...] > As we seem to be moving away from the old bovinator style of: > > rule: punctuation "." ; > > i think it makes sense to have the default `semantic-lex-punctuation' > return translated punctuation keyword things as part of it's job. OK. Maybe could we provide the current `semantic-lex-punctuation' function as `semantic-lex-generic-punctuation'=3F I will try to hack something this week-end ;-) Thanks! David ---------- Change log: * semantic-grammar.el: (semantic-grammar-lex-symbol): Undo previous change. (semantic-grammar-automaton) (semantic-grammar-keywords) (semantic-grammar-tokens) (semantic-grammar-setup-semantic): Re-generated. (semantic-grammar-syntax-table): Added '.' as symbol constituent, and '=3F' and '\' as quote characters. (semantic-grammar-mode-keywords-1): Fixed symbol regexps. * semantic-grammar.wy: (setupcode): Setup `semantic-lex-comment-regex'. |