reorganisation of lint code
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
/* EXPRESSION SYNTAX PARSER */
|
||||
|
||||
{
|
||||
#include "lint.h"
|
||||
#include "arith.h"
|
||||
#include "LLlex.h"
|
||||
#include "type.h"
|
||||
@@ -208,10 +207,6 @@ conditional_expression(struct expr **expp;)
|
||||
#endif
|
||||
ch7bin(&e1, ':', e2);
|
||||
opnd2test(expp, '?');
|
||||
#ifdef LINT
|
||||
if (is_cp_cst(*expp))
|
||||
hwarning("condition in ?: is constant");
|
||||
#endif LINT
|
||||
ch7bin(expp, '?', e1);
|
||||
}
|
||||
]?
|
||||
|
||||
Reference in New Issue
Block a user