diff options
author | pacien | 2018-06-06 14:15:01 +0200 |
---|---|---|
committer | pacien | 2018-06-06 14:15:01 +0200 |
commit | 8a5ccc3b6e5e7a3ad064cc5cce1c4a1a9ac74aa8 (patch) | |
tree | d7ec37e84a2c9e4eaefa6a380914251eba51c26b | |
parent | 01406ad25ff49d5c5f722f34187d2063cefea5ed (diff) | |
parent | 7d8e0d62851ee37c284405740b56b704664cb6a9 (diff) | |
download | tpc-compiler-8a5ccc3b6e5e7a3ad064cc5cce1c4a1a9ac74aa8.tar.gz |
Merge branch 'master' of https://github.com/pacien/upem-compil-tpc
-rw-r--r-- | res/test_print.tpc | 6 | ||||
-rw-r--r-- | res/test_read_ok.tpc | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/res/test_print.tpc b/res/test_print.tpc new file mode 100644 index 0000000..e75d93e --- /dev/null +++ b/res/test_print.tpc | |||
@@ -0,0 +1,6 @@ | |||
1 | entier main(void) { | ||
2 | entier r1; | ||
3 | reade(r1); | ||
4 | print(r1); | ||
5 | return 0; | ||
6 | } | ||
diff --git a/res/test_read_ok.tpc b/res/test_read_ok.tpc index 6ad3632..b88061f 100644 --- a/res/test_read_ok.tpc +++ b/res/test_read_ok.tpc | |||
@@ -1,6 +1,3 @@ | |||
1 | /* test-table-symboles.tpc */ | ||
2 | |||
3 | /* Test file for simplified translator of a declaration of variables in C */ | ||
4 | entier r1,b,s,c,r2 ; | 1 | entier r1,b,s,c,r2 ; |
5 | caractere letter, digit, punct; | 2 | caractere letter, digit, punct; |
6 | 3 | ||