From 4cc53658a9503191f41945914e6223ccc5a95717 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 5 Jun 2018 23:03:13 +0200 Subject: While handling --- res/test_while.tpc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 res/test_while.tpc (limited to 'res') diff --git a/res/test_while.tpc b/res/test_while.tpc new file mode 100644 index 0000000..25d04c6 --- /dev/null +++ b/res/test_while.tpc @@ -0,0 +1,13 @@ +/* test-table-symboles.tpc */ + +/* Test file for simplified translator of a declaration of variables in C */ + +entier main(void) { + entier i; + i = 0; + while(i<=5){ + print(i); + i = i + 1; + } + return 0; +} -- cgit v1.2.3