mirror of
https://github.com/sfall-team/sslc.git
synced 2026-07-27 16:52:49 -07:00
ForEach: fix crash in foreach variable v in ar
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ void parseForEach(Procedure *p, NodeList *n) {
|
||||
|
||||
GenTmpVar(p, &len);
|
||||
GenTmpVar(p, &count);
|
||||
if (!hasKey && !addVars) GenTmpVar(p, &symbolKey);
|
||||
if (!hasKey) GenTmpVar(p, &symbolKey);
|
||||
|
||||
//count:=0;
|
||||
emitOp(p, n, T_START_STATEMENT);
|
||||
|
||||
Reference in New Issue
Block a user