You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (get_token(tokens, *index)->type!=TOKEN_END_OF_LINE) {
358
-
printf("Error: Invalid if statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->line);
363
+
printf("Error: Invalid if statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->value, get_token(tokens, *index)->line);
if (get_token(tokens, *index)->type!=TOKEN_END_OF_LINE) {
401
-
printf("Error: Invalid elif statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->line);
406
+
printf("Error: Invalid elif statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->value, get_token(tokens, *index)->line);
if (get_token(tokens, *index)->type!=TOKEN_END_OF_LINE) {
441
-
printf("Error: Invalid while statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->line);
446
+
printf("Error: Invalid while statement, expected end of line but found `%s` in line %d\n", get_token(tokens, *index)->value, get_token(tokens, *index)->line);
0 commit comments