Changeset: 43a10b8d1abb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=43a10b8d1abb
Modified Files:
monetdb5/mal/mal_parser.c
Branch: default
Log Message:
Fix for parsing return statements
diffs (15 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
@@ -1515,8 +1515,10 @@ parseAssign(Client cntxt, int cntrl)
curBlk = curPrg->def;
curInstr = newInstruction(curBlk, NULL, NULL);
- if( cntrl)
+ if( cntrl){
+ curInstr->token = ASSIGNsymbol;
curInstr->barrier = cntrl;
+ }
/* start the parsing by recognition of the lhs of an assignment */
if (currChar(cntxt) == '(') {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list