mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
936819a1b9
made like in pcc (pcc.ludd.ltu.se/ftp/pub/pcc-docs/pcc-utf8-ver3.pdf) We treat all chars with high bit set as alphabetic. This allow code like #include <stdio.h> int Lefèvre=2; int main() { printf("Lefèvre=%d\n",Lefèvre); return 0; }
10 lines
190 B
C
10 lines
190 B
C
#include <stdio.h>
|
||
double привет=0.1;
|
||
int Lefèvre=2;
|
||
int main(){
|
||
printf("привет=%g\n",привет);
|
||
printf("Lefèvre=%d\n",Lefèvre);
|
||
return 0;
|
||
}
|
||
// pcc & tcc only
|