[CEDET-devel] Regression Test Generic tag format
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2003-04-12 17:32:06
|
I've added two functions to the end of Klaus' new file `semantic-regtest.el'. These routines convert a semantic 2.0 tag into a "generic format", meaning the tags are good for comparing two parser outputs. The new tags format is: ("name" 'class :sym1 val1 :sym2 val2 ...) All "properties" are stripped since a grammar may change names of it's parser nodes. The overlay is stripped as well. In addition, the :symN symbols are all sorted in ascending order in case the order of those elements change from one parse to the next. This will ensure maximum flexibility. Have fun Eric -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |