diff options
author | Galin Simeonov <gts@volconst.com> | 2021-06-04 13:04:36 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-07-15 18:04:02 +0300 |
commit | b845e4754be86d2216733d9bea75cb301f38739d (patch) | |
tree | 5ba6355d1cb36b1bfaadf82781796b1c42b9202b /src/program/program.h | |
parent | 76fc38b3cdfded2911b464baa7b182b5102318d1 (diff) | |
download | MEGATRON-b845e4754be86d2216733d9bea75cb301f38739d.tar.gz |
added expressions and the if statement
Diffstat (limited to 'src/program/program.h')
-rw-r--r-- | src/program/program.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/program/program.h b/src/program/program.h index 1fa0db6..fea0aef 100644 --- a/src/program/program.h +++ b/src/program/program.h @@ -64,7 +64,7 @@ struct Error* get_error(char *message,size_t row,size_t column); void push_lexing_error(char *error_message,struct Source *src,struct Translation_Data *translation_data); void push_parsing_error(char *error_message,struct Translation_Data *translation_data); -void push_error_with_token(char *error_message,struct Translation_Data *translation_data,struct token *token); +void push_error_with_token(char *error_message,struct token *token,struct Translation_Data *translation_data); char has_new_errors(struct Translation_Data *translation_data); void touch_errors(struct Translation_Data *translation_data); char get_and_check(struct Translation_Data *translation_data,enum Keyword kw); |