diff options
author | Adam NAILI | 2018-06-05 14:09:01 +0200 |
---|---|---|
committer | Adam NAILI | 2018-06-05 14:09:01 +0200 |
commit | 53e859913d6eb7141dbd1ed48f28c336f1322534 (patch) | |
tree | b550a39273c38141a678dd0bd49d31902a0252dd /res | |
parent | 8f6dd273479bdc7789d40a235b0afb6598fd0435 (diff) | |
download | tpc-compiler-53e859913d6eb7141dbd1ed48f28c336f1322534.tar.gz |
Replacing VOID by VOID_T
Diffstat (limited to 'res')
-rw-r--r-- | res/test_read.tpc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/res/test_read.tpc b/res/test_read.tpc index a201223..0109e4d 100644 --- a/res/test_read.tpc +++ b/res/test_read.tpc | |||
@@ -4,12 +4,9 @@ | |||
4 | entier r1,b,s,c,r2 ; | 4 | entier r1,b,s,c,r2 ; |
5 | caractere letter, digit, punct; | 5 | caractere letter, digit, punct; |
6 | 6 | ||
7 | void calcul(void) { | ||
8 | caractere r1; | ||
9 | readc(r1); | ||
10 | print(r1); | ||
11 | } | ||
12 | 7 | ||
13 | entier main(void) { | 8 | entier main(void) { |
14 | calcul(); | 9 | caractere r1; |
10 | readc(r1); | ||
11 | print(r1); | ||
15 | } | 12 | } |