gobject-introspection r98 - in trunk: . src
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r98 - in trunk: . src
- Date: Fri, 11 Jan 2008 23:01:41 +0000 (GMT)
Author: johan
Date: Fri Jan 11 23:01:41 2008
New Revision: 98
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=98&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/src/scanner.c
trunk/src/scannerlexer.l
Modified: trunk/src/scanner.c
==============================================================================
--- trunk/src/scanner.c (original)
+++ trunk/src/scanner.c Fri Jan 11 23:01:41 2008
@@ -740,7 +740,7 @@
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);
Modified: trunk/src/scannerlexer.l
==============================================================================
--- trunk/src/scannerlexer.l (original)
+++ trunk/src/scannerlexer.l Fri Jan 11 23:01:41 2008
@@ -215,7 +215,7 @@
else /* parts == 1 */
{
name = parts[0];
- value = "1";
+ value = NULL;
}
directive = cdirective_new (name, value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]