|
From: | grischka |
Subject: | Re: [Tinycc-devel] TCC crash with multiline string |
Date: | Mon, 02 Nov 2020 18:24:08 +0100 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
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 Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |