Changeset: 617161373486 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=617161373486
Modified Files:
MonetDB5/src/mal/mal_instruction.mx
Branch: default
Log Message:
Display NOOP operations as REM
To avoid 'invisible' noop operations during MAL listing
turn them into commentary.
diffs (19 lines):
diff -r eb356b332056 -r 617161373486 MonetDB5/src/mal/mal_instruction.mx
--- a/MonetDB5/src/mal/mal_instruction.mx Fri May 21 11:39:30 2010 +0200
+++ b/MonetDB5/src/mal/mal_instruction.mx Fri May 21 13:51:19 2010 +0200
@@ -2670,7 +2670,6 @@
advance(t,base,len);
}
switch (p->token<0?-p->token:p->token) {
- case NOOPsymbol:
case FCNcall:
case FACcall:
case PATcall:
@@ -2745,6 +2744,7 @@
}
return fcnDefinition(mb, p, s, flg, base, len);
case REMsymbol:
+ case NOOPsymbol:
if(getVar(mb, getArg(p, 0))->value.val.sval)
snprintf(t,(len-(t-base)), "#%s ", getVar(mb, getArg(p,
0))->value.val.sval);
else
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list