From 38771494bada2b71a5e3a320938e6a259c1e208c Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Wed, 6 Jun 2018 03:06:34 +0200 Subject: Fixing chain declarator and array conflict --- res/test_add.tpc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'res/test_add.tpc') diff --git a/res/test_add.tpc b/res/test_add.tpc index 2f6b9dd..848130c 100644 --- a/res/test_add.tpc +++ b/res/test_add.tpc @@ -1,12 +1,11 @@ -/* test-table-symboles.tpc */ - -/* Test file for simplified translator of a declaration of variables in C */ entier a; entier main(void) { entier a,b,res; a = 2; b = 3; + res = a + b; + print(res); res = a - b; print(res); } -- cgit v1.2.3