reorganisation of lint code

This commit is contained in:
dick
1988-09-25 17:29:37 +00:00
parent fb854c82ff
commit 3d549e7932
8 changed files with 296 additions and 239 deletions

View File

@@ -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);
}
]?