swig/Source/CParse
Vadim Zeitlin 68492869fd Reset "_last" for all but first enum elements.
There is an implicit assumption (see TypePass::enumvalueDeclaration()) that
only the first enum element has a non-null "_last" attribute, but this was
broken by the latest enum-related grammar changes as the second enum element
also had "_last" set, coming from the new "enumlist_tail" production. This
resulted in wrong values being used for the second (only) element.

Fix this by explicitly resetting "_last" of enumlist_tail to NULL when
building the semantic value associated with it.
2015-07-27 04:25:48 +02:00
..
cparse.h Another merge with master. 2015-02-16 23:46:39 +01:00
cscanner.c Move Doxygen comments concatenation from the parser to the lexer. 2015-07-27 01:14:48 +02:00
parser.y Reset "_last" for all but first enum elements. 2015-07-27 04:25:48 +02:00
templ.c Warning fixes for 64bit visual c++ on Windows 2015-07-03 20:59:24 +01:00
util.c Merge latest master into doxygen branch again. 2014-08-13 16:11:21 +02:00