Author: paultcochrane
Date: Sat Mar 31 02:56:01 2007
New Revision: 17879
Modified:
trunk/languages/cola/sym.c
trunk/languages/cola/type.c
Log:
[cola] Corrected further parenthesis issues after Sartak fixed the
c_parens.t test.
Modified: trunk/languages/cola/sym.c
==============================================================================
--- trunk/languages/cola/sym.c (original)
+++ trunk/languages/cola/sym.c Sat Mar 31 02:56:01 2007
@@ -415,7 +415,7 @@
#if DEBUG
fprintf(stderr, "lookup_symbol: %s split to (%s,...)\n", name, list->name);
#endif
- for (ns = current_namespace; ns; ) {
+ for (ns = current_namespace; ns;) {
#if DEBUG
fprintf(stderr, "lookup_symbol: searching namespace[%s] for [%s]\n",
ns->name, list->name);
#endif
Modified: trunk/languages/cola/type.c
==============================================================================
--- trunk/languages/cola/type.c (original)
+++ trunk/languages/cola/type.c Sat Mar 31 02:56:01 2007
@@ -79,7 +79,7 @@
s = lookup_symbol_in_tab(ns->table, name);
if (s != NULL) {
if (s->kind != TYPE) {
- fprintf(stderr, "lookup_type(%s) : Error, symbol not a
type\n", name );
+ fprintf(stderr, "lookup_type(%s) : Error, symbol not a
type\n", name);
abort();
}
#if DEBUG