28 lines
670 B
C
28 lines
670 B
C
//
|
|
// Created by chepycou on 4/18/23.
|
|
//
|
|
|
|
#ifndef PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H
|
|
#define PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H
|
|
|
|
#define START_TABLE_SIZE 128
|
|
#define LINE_MAX_LENGTH 50
|
|
|
|
/*============================
|
|
Array and Reallocation
|
|
============================*/
|
|
|
|
/*reallocates the array with the specified size*/
|
|
void reallocateArray(int size);
|
|
|
|
/*Checks for the length of the array and reallocates if necessary*/
|
|
void checkArraySanity();
|
|
|
|
/* /!\ To be called at the beginning
|
|
* Initializes the array of Symbols*/
|
|
void initSymbolTable();
|
|
|
|
/*resets the symbol table*/
|
|
void resetSymboltable();
|
|
|
|
#endif //PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H
|