nemiver r667 - in trunk: . src/langs tests



Author: dodji
Date: 2007-12-26 18:52:25 +0000 (Wed, 26 Dec 2007)
New Revision: 667
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=667&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/langs/nmv-cpp-parser.cc
   trunk/tests/test-cpp-parser.cc
Log:
Fix a decl-specifier-seq parsing code

	* src/langs/nmv-cpp-parser.cc:
	  (Parser::parse_decl_specifier_seq): parsing of decl-specifier-seq
	  was broken for consructs like:  "static long unsigned int".
	  The broken part is due to "long" coming before the "unsigned",
	  instead of after.
	* tests/test-cpp-parser.cc: added a regression test case for the
	  above fix.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]