Assembler/header/error_analyzer.h

13 lines
459 B
C
Raw Permalink Normal View History

2023-05-01 21:19:52 +02:00
#ifndef _ERROR_ANALYZER_H_
#define _ERROR_ANALYZER_H_
#include "../header/common.h"
#include "../header/instruction_table.h"
#include "../header/shash/shash.h"
/* Check if there exist errors in the Assembly using the tokens array
Returns amount of errors found, and prints out the error's to stdout */
2023-09-05 00:42:36 +02:00
unsigned int check_token_errors(char tokens[][MAX_TOKEN_SIZE], shash_hashtable_t instruction_information_table, shash_hashtable_t label_table);
2023-05-01 21:19:52 +02:00
#endif