No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.c 495B

123456789101112131415161718
  1. #include <stdio.h>
  2. #include "table_symboles.h"
  3. int main() {
  4. Table_Symboles table;
  5. initialise_table(&table);
  6. add_symbole_top(&table, "var1" , TYPE_INT, INITIALISED);
  7. add_symbole_top(&table, "var1" , TYPE_INT, INITIALISED);
  8. add_symbole_top(&table, "var2" , TYPE_INT, INITIALISED);
  9. add_symbole_bottom(&table, "varTemp1" , TYPE_CONST_INT, INITIALISED);
  10. add_symbole_bottom(&table, "varTemp2" , TYPE_INT, NOT_INITIALISED);
  11. print_table(&table);
  12. return 0;
  13. }