added script that triggers a bug
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
p = (true);
|
||||
|
||||
if true
|
||||
a = 1;
|
||||
if p
|
||||
(a = 1);
|
||||
else
|
||||
a = 2;
|
||||
|
||||
return a;
|
||||
@@ -338,19 +338,15 @@ static inline _Bool done(Context *ctx)
|
||||
return current(ctx) == TDONE;
|
||||
}
|
||||
|
||||
#warning "TEMP"
|
||||
#include <stdio.h>
|
||||
|
||||
static Node *parse_statement(Context *ctx)
|
||||
{
|
||||
assert(ctx != NULL);
|
||||
|
||||
switch(current(ctx))
|
||||
{
|
||||
case '*':
|
||||
case '/':
|
||||
case TASS:
|
||||
case TDONE:
|
||||
UNREACHABLE;
|
||||
break;
|
||||
|
||||
case '(':
|
||||
case '+':
|
||||
case '-':
|
||||
|
||||
Reference in New Issue
Block a user