Re: [CEDET-devel] semantic-token creation
Brought to you by:
zappo
From: David P. <dav...@wa...> - 2003-03-17 13:49:07
|
Hi Eric, >>I finally checked-in my changes to the grammar framework >>to use new TAG generation ;-) >> >>The change log follows. > > [ ... ] > > Huzzah, > > The new highlighting in particular makes it easy to see what > the tags are, and what the attributes you are giving it are. > > Nifty! Thanks! I like it too, for the same reason ;-) > We will have to synchronize when we convert over the big languages > (like C and Java) along with the tag accessors in semantic-token.el to > use the :colon notation. I was thinking we could set up the function > `semantic-tag-make-assoc-list' to prefix keys with : until languages > are converted over. That's a good idea. I vote for it ;-) I just checked changes in to semantic-grammar.el and wisent-bovine.el to cleanup things and use the noun tag in place of token, where it is appropriate. I also fixed the override of `semantic-summarize-nonterminal' to use the new tag structure, and to summarize `nonassoc' tags. Following is the change log. David 2003-03-17 David Ponce <da...@dp...> * semantic/semantic-grammar.el (semantic-grammar-edits-new-change-hook-fcn): Doc fix. Use tag in place of token. (senator-add-log-tokens): Likewise. (semantic-nonterminal-children): Likewise. Renamed `tag' local variable `token'. (semantic-abbreviate-nonterminal): Likewise. (semantic-summarize-nonterminal): Likewise. Fixed to use new tag structure. Extended for `nonassoc' tags. (semantic-grammar-token-name): Renamed... (semantic-grammar-first-tag-name): New. (semantic-grammar-token-symbols): Renamed... (semantic-grammar-tag-symbols): New. (semantic-grammar-setupfunction, semantic-grammar-tokentable) (semantic-grammar-parsetable, semantic-grammar-keywordtable) (semantic-grammar-languagemode, semantic-grammar-start) (semantic-grammar-scopestart, semantic-grammar-quotemode) (semantic-grammar-outputfile): Use new names above. (semantic-grammar-tokens): Doc fix. Renamed `tag' local variables `token'. (semantic-grammar-token-properties) (semantic-grammar-tokentable-builder-default) (semantic-grammar-tokentable-builder) (semantic-grammar-tokentable-value): Doc fix. (semantic-grammar-syntax-help "TAG"): Use "tag-class" in place of "type-token". (semantic-abbreviate-nonterminal): Doc fix. Renamed `tag' local variable `token'. * semantic/wisent/wisent-bovine.el (wisent-parse-stream): Doc fix. Use tag in place of token. (wisent-parse-region): Likewise. Renamed `tag' local variable `token'. |