Code Hz wrote:
Hello,
This is the minimal sample input, it only crash on the windows, but I
do not think it is os-dependent.
```
b(){"
"2
```
I fixed that. The problem here was not with the multi-line string but
rather with the two constant tokens ("" & 2) following each other
immediately which must never happen in a tinycc using a static token
value store (tokc).
-- gr
It runs well in linux, report `error: ';' expected (got "2")`.
Although according to the C standard, this string syntax is incorrect.
But in windows, tcc.exe just crash without any output. (env: mingw-w64
9.2.0, tcc: (head in mob branch)
53587ee415faf03991e465ee22f73a7f8f2cd754)
(libtcc will crash the host program when compile this)
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel