Mercurial > hg > Members > kono > compiler-examples
comparison calc.c @ 26:8550260c18fa
fix aarch on mac and llvm
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Oct 2024 16:06:51 +0900 |
parents | e5c8532ab38d |
children |
comparison
equal
deleted
inserted
replaced
25:e84ea6c0d359 | 26:8550260c18fa |
---|---|
28 last_ptr = ptr; | 28 last_ptr = ptr; |
29 last_token = EOF; | 29 last_token = EOF; |
30 } | 30 } |
31 | 31 |
32 static void | 32 static void |
33 error(description) | 33 error(char *description) |
34 char *description; | |
35 { | 34 { |
36 fprintf(stderr,"%s on %s\n",description,last_ptr); | 35 fprintf(stderr,"%s on %s\n",description,last_ptr); |
37 line_skip(); | 36 line_skip(); |
38 } | 37 } |
39 | 38 |