2008-01-11 Johan Dahlin <johan@gnome.org>
* src/scanner.c: (g_igenerator_process_function_symbol):
* src/scannerlexer.l:
Do not save the content of the deprecated variable, only
if it's set or not.
svn path=/trunk/; revision=98
2008-01-11 Johan Dahlin <johan@gnome.org>
+ * src/scanner.c: (g_igenerator_process_function_symbol):
+ * src/scannerlexer.l:
+ Do not save the content of the deprecated variable, only
+ if it's set or not.
+
+2008-01-11 Johan Dahlin <johan@gnome.org>
+
* tests/parser/foo-object.h: Add a couple of comment parser tests.
2008-01-11 Jürg Billeter <j@bitron.ch>
CDirective *directive = (CDirective*)l->data;
if (!strcmp (directive->name, "deprecated"))
- gifunc->deprecated = strcmp (directive->value, "1") == 0;
+ gifunc->deprecated = TRUE;
else
g_printerr ("Unknown function directive: %s\n",
directive->name);
else /* parts == 1 */
{
name = parts[0];
- value = "1";
+ value = NULL;
}
directive = cdirective_new (name, value);