Changeset: 258e2b90a726 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=258e2b90a726
Modified Files:
monetdb5/mal/mal_parser.c
Branch: default
Log Message:
Make sure the instruction belongs to a block
diffs (12 lines):
diff --git a/monetdb5/mal/mal_parser.c b/monetdb5/mal/mal_parser.c
--- a/monetdb5/mal/mal_parser.c
+++ b/monetdb5/mal/mal_parser.c
@@ -1883,7 +1883,7 @@ parseMAL(Client cntxt, Symbol curPrg)
* Comment lines produced by Mx, i.e. #line directives are not saved.
* The deadcode optimizer removes all comment information.
*/
- curInstr = newInstruction(NULL, REMsymbol);
+ curInstr = newInstruction(curBlk, REMsymbol);
cst.vtype = TYPE_str;
cst.len = (int) strlen(start);
cst.val.sval = GDKstrdup(start);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list