tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks


From: Ziyao
Subject: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks
Date: Mon, 11 Jul 2022 21:57:45 +0800

Hi list,

When I was compiling Bash with TinyCC,an error occurred.

The simpliest example is like below:

#if 0
"
#if 0
"
#endif
#endif

Code within #if 0 ... end block should be ignored.But this code breaks
TinyCC.TinyCC seems to analyse the string inside the useless code block.

As many use #if 0 blocks as comments,maybe this is valuable to fix.

Tons of thanks for your help

Ziyao




reply via email to

[Prev in Thread] Current Thread [Next in Thread]