SF.net SVN: geany:[5565] trunk/tagmanager/c.c
colombanw at users.sourceforge.net
colombanw at xxxxx
Sat Mar 5 22:55:00 UTC 2011
Revision: 5565
http://geany.svn.sourceforge.net/geany/?rev=5565&view=rev
Author: colombanw
Date: 2011-03-05 22:55:00 +0000 (Sat, 05 Mar 2011)
Log Message:
-----------
Fix some debugging functions in C tag parser
Modified Paths:
--------------
trunk/tagmanager/c.c
Modified: trunk/tagmanager/c.c
===================================================================
--- trunk/tagmanager/c.c 2011-03-05 22:54:33 UTC (rev 5564)
+++ trunk/tagmanager/c.c 2011-03-05 22:55:00 UTC (rev 5565)
@@ -691,7 +691,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);
@@ -711,8 +711,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.
More information about the Commits
mailing list