nemiver r614 - in trunk: . src/langs tests
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r614 - in trunk: . src/langs tests
- Date: Sun, 18 Nov 2007 00:26:32 +0000 (GMT)
Author: dodji
Date: 2007-11-18 00:26:32 +0000 (Sun, 18 Nov 2007)
New Revision: 614
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=614&view=rev
Modified:
trunk/ChangeLog
trunk/src/langs/nmv-cpp-ast.cc
trunk/src/langs/nmv-cpp-ast.h
trunk/src/langs/nmv-cpp-parser.cc
trunk/src/langs/nmv-cpp-parser.h
trunk/tests/test-cpp-parser.cc
Log:
cpplang: simple declarations are now strongly typed.
* src/langs/nmv-cpp-ast.cc,h: handle fine grained TypeSpecifier.
* src/lands/nmv-cpp-parser.h,cc: now decl-specifier-seq are properly
typed and can be manipulated by client APIs.
As a result, SimpleType are also now fully strongly typed, especially
the different kinds of TypeSpecifier.
Parser::parse_simple_type_specifier() returns a SimpleTypeSpecPtr
instead of a string. Woo.
It also supports more types of decl-specifier-seq. Still no
struct/class, or template though.
* tests/test-cpp-parser.cc: updated this to be reflect the changes
above. Now we are able to get the type or variable name parts of a
declaration. We just need to be able to parse more declaration forms.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]