Assembler/header/error_analyzer.h

12 lines
459 B
C

#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 */
unsigned int check_token_errors(char tokens[][MAX_TOKEN_SIZE], shash_hashtable_t instruction_information_table, shash_hashtable_t label_table);
#endif