nemiver r630 - in trunk: . src/langs tests



Author: dodji
Date: 2007-11-25 01:38:16 +0000 (Sun, 25 Nov 2007)
New Revision: 630
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=630&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/langs/nmv-cpp-ast.cc
   trunk/src/langs/nmv-cpp-ast.h
   trunk/src/langs/nmv-cpp-lexer.cc
   trunk/src/langs/nmv-cpp-parser.cc
   trunk/src/langs/nmv-cpp-parser.h
   trunk/tests/test-cpp-parser.cc
Log:
cpplang: can parse the bulk of expressions now.

	* src/langs/nmv-cpp-parser.h,cc,
	  src/langs/nmv-cpp-ast.h,cc,
	  tests/test-cpp-parser.cc: parse the following productions:
	  logical-and-expression, logical-or-expression, conditional-expression,
	  assignment-expression and expression. Of course, there are quite some
	  holes in the parsing, but the bulk of it is falling in place.
	  Updated primary-expression parsing to make it parse
	  "(expression)".
	  Updated postfix-expression parsing a little bit to make it parse
	  "postfix [expression]", especially the 'expression' part.
	  Did quite some debugging.





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