From 40f423a4b3b1e64e8424ab239cc14ecc5077640f Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Sun, 22 Apr 2018 14:49:42 +0200 Subject: Beginning of the symbol table implementation --- res/test-table-symboles.tpc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 res/test-table-symboles.tpc (limited to 'res/test-table-symboles.tpc') diff --git a/res/test-table-symboles.tpc b/res/test-table-symboles.tpc new file mode 100644 index 0000000..3c12144 --- /dev/null +++ b/res/test-table-symboles.tpc @@ -0,0 +1,13 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ + entier r1,b,s,c,r2 ; + caractere letter, digit, punct; + +entier main(void) { + r1=12; + r2=24; + b=r1+r2; + punct='.'; + return b; +} -- cgit v1.2.3