Yakov, with mod on Windows I tried this:
c:\tmp>type foo.c
int main() {
#line 30 "demo.c"
printf("hello\n");
#line 40 "demo.c"
return 0;
}
c:\tmp>tcc -E foo.c
# 1 "foo.c"
int main() {
# 30 "demo.c"
printf("hello\n");
# 40 "demo.c"
return 0;
}
On
I am curious why my copy of TinyC ignores the second argument to the #line
directive?
In a file named prog.c I am trying to rename lines as if they come from
demo.c
int main() {
#line 30 "demo.c"
printf("hello\n");
#line 40 "demo.c"
return 0;
}
It works as expected for GCC, but