[CEDET-devel] Auto-generation of lexical analyzers for the meta-grammar
Brought to you by:
zappo
From: David P. <dav...@wa...> - 2004-01-19 11:50:32
|
Hi Eric, I updated the meta-grammar in semantic-grammar.wy, and associated support files semantic-grammar.el and semantic-grammar-wy.el to take benefit of auto-generated analyzers ;-) I will commit these changes as soon as the CVS repository at SF will be available again (It seems that it isn't accessible for now). 2004-01-19 David Ponce <da...@dp...> * cedet/semantic/semantic-grammar.el (semantic-grammar-wy): Require after specific analyzers. (semantic-grammar-lex-c-char-re): Move before analyzers. (semantic-grammar-lex-symbol, semantic-grammar-lex-string) (semantic-grammar-lex-char, semantic-grammar-lex-blocks) (semantic-grammar-lex-sexp, semantic-grammar-lex-prefixed-list) (semantic-grammar-lexer): Remove. Defined in grammar. * cedet/semantic/semantic-grammar.wy (<keyword>, <symbol>, <string>, <qlist>, <sexp>, <block>) (<punctuation>): Declare as types. (PERCENT_PERCENT): Fix regexp. (PREFIXED_LIST): Move regexp to <qlist> type syntax. (PAREN_BLOCK, BRACE_BLOCK): Fix block definition. (LPAREN, RPAREN): New tokens. (epilogue): Define `semantic-grammar-lexer' here. * cedet/semantic/semantic-grammar-wy.el Re-generated. David |