[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
- [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks,
Ziyao <=
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Domingo Alvarez Duarte, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Vincent Lefevre, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Ziyao, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Vincent Lefevre, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Ziyao, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Vincent Lefevre, 2022/07/11
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Vincent Lefevre, 2022/07/12
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Ziyao, 2022/07/13
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, grischka, 2022/07/13
- Re: [Tinycc-devel] Bug that TinyCC Analyses Strings inside #if 0 blocks, Ziyao, 2022/07/13