[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Warning if no break between two case ?
From: |
ShangHongzhang 62185 |
Subject: |
[Tinycc-devel] Warning if no break between two case ? |
Date: |
Sat, 06 Oct 2007 17:37:38 +0800 |
How to output a warning if there is no any 'break' statement between two 'case'
statements?
for example:
switch (a)
{
case 1:
... // there is no break, I want TCC to show some warning in this case
case 2:
...
break;
}
So, what could I do to achieve this?
- [Tinycc-devel] Warning if no break between two case ?,
ShangHongzhang 62185 <=