[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06-bug-init.patch
From: |
Akim Demaille |
Subject: |
06-bug-init.patch |
Date: |
Thu, 27 Dec 2001 18:58:11 +0100 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* src/reader.c (symbol_list_new): Be sure to initialize all the
fields.
Index: src/reader.c
--- src/reader.c Sun, 23 Dec 2001 11:51:18 +0100 akim
+++ src/reader.c Wed, 26 Dec 2001 18:08:04 +0100 akim
@@ -44,8 +44,7 @@
const char *action;
int action_line;
bucket *ruleprec;
-}
-symbol_list;
+} symbol_list;
int lineno;
char **tags;
@@ -75,6 +74,8 @@
res->next = NULL;
res->sym = sym;
res->line = lineno;
+ res->action = NULL;
+ res->action_line = 0;
res->ruleprec = NULL;
return res;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 06-bug-init.patch,
Akim Demaille <=