fixed the yacc JMF without boolean variable
This commit is contained in:
parent
2c9bb64de1
commit
c8f53d34b8
1 changed files with 1 additions and 1 deletions
2
yacc.y
2
yacc.y
|
@ -121,7 +121,7 @@ IfStatement : tIF Condition IfStatement1 InnerBlock tELSE {
|
||||||
int current = getCurrentLineNumber() ; printf("%d, %d",$1, current);setJumpLine($1, current);
|
int current = getCurrentLineNumber() ; printf("%d, %d",$1, current);setJumpLine($1, current);
|
||||||
}
|
}
|
||||||
| tIF Condition IfStatement1 InnerBlock {
|
| tIF Condition IfStatement1 InnerBlock {
|
||||||
int current = getCurrentLineNumber(); printf("current Line %d", current); setJumpLine($3, current);
|
setConditionAddr($3,$2); int current = getCurrentLineNumber(); printf("current Line %d", current); setJumpLine($3, current);
|
||||||
};
|
};
|
||||||
|
|
||||||
WhileStatement : tWHILE {
|
WhileStatement : tWHILE {
|
||||||
|
|
Loading…
Reference in a new issue