Fixed some function parsing.
This commit is contained in:
		| @@ -14,6 +14,7 @@ ASTNumData exec_exp(AST* ast) { | ||||
|         case AST_TYPE_CALL: return exec_call(ast); | ||||
|         case AST_TYPE_NUM:  return *(ASTNumData*)ast->data; | ||||
|         default:            printf("what\n"); | ||||
|                             exit(1); | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -61,7 +61,7 @@ exp: | ||||
|     | LGROUP exp RGROUP { $$ = $2; } | ||||
|  | ||||
|     // Variable reference. | ||||
|     | WORD | ||||
|     //| WORD | ||||
|  | ||||
|     // Function call. | ||||
|     // name(thing, thing) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user