Revision: 5779 http://geany.svn.sourceforge.net/geany/?rev=5779&view=rev Author: colombanw Date: 2011-05-09 17:36:20 +0000 (Mon, 09 May 2011)
Log Message: ----------- Fix some debugging functions in C tag parser
Modified Paths: -------------- branches/0.20.1/tagmanager/c.c
Modified: branches/0.20.1/tagmanager/c.c =================================================================== --- branches/0.20.1/tagmanager/c.c 2011-05-09 17:35:56 UTC (rev 5778) +++ branches/0.20.1/tagmanager/c.c 2011-05-09 17:36:20 UTC (rev 5779) @@ -694,7 +694,7 @@ { static const char *const names [] = { "none", "args", "}", "{", "comma", "double colon", "keyword", "name", - "package", "paren-name", "semicolon", "specifier", "*", "[]", "count" + "package", "paren-name", "semicolon", "specifier", "*", "[]" }; Assert (sizeof (names) / sizeof (names [0]) == TOKEN_COUNT); Assert ((int) type < TOKEN_COUNT); @@ -714,8 +714,9 @@ static const char *declString (const declType declaration) { static const char *const names [] = { - "?", "base", "class", "enum", "function", "ignore", "interface", - "namespace", "no mangle", "package", "struct", "union", + "?", "base", "class", "enum", "event", "signal", "function", + "function template", "ignore", "interface", "module", "namespace", + "no mangle", "package", "struct", "union", }; Assert (sizeof (names) / sizeof (names [0]) == DECL_COUNT); Assert ((int) declaration < DECL_COUNT);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.