Author: kjs
Date: Sat Jan 3 06:46:55 2009
New Revision: 34881
Modified:
trunk/compilers/pirc/new/pirsymbol.c
Log:
[pirc] comment out some code.
Modified: trunk/compilers/pirc/new/pirsymbol.c
==============================================================================
--- trunk/compilers/pirc/new/pirsymbol.c (original)
+++ trunk/compilers/pirc/new/pirsymbol.c Sat Jan 3 06:46:55 2009
@@ -341,7 +341,9 @@
c = find_global_constant(lexer, name);
if (c) {
symbol *sym = new_symbol(lexer, name,
convert_valuetype_to_pirtype[c->type]);
+ /*
fprintf(stderr, "symbol type: %d ==> %d\n", c->type,
convert_valuetype_to_pirtype[c->type]);
+ */
return sym;
}
@@ -639,10 +641,14 @@
unsigned long hashcode = get_hashcode(name, table->size);
bucket *b = get_bucket(table, hashcode);
- fprintf(stderr, "finding global constant '%s'\n", name);
+ /* fprintf(stderr, "finding global constant '%s'\n", name);
+ */
+
while (b) {
if (STREQ(bucket_constant(b)->name, name)) {
+ /*
fprintf(stderr, "found!\n");
+ */
return bucket_constant(b);
}