better evaluation order checking in expressions

This commit is contained in:
dick
1989-02-02 13:57:07 +00:00
parent d6878e6125
commit eacc6e770e
16 changed files with 367 additions and 227 deletions

View File

@@ -27,7 +27,6 @@
#include "LLlex.h"
#include "noRoption.h"
#include "estack.h"
#include "code.h"
#ifdef LINT
#include "l_lint.h"
#endif LINT
@@ -54,7 +53,7 @@ initial_value(register struct type **tpp; register struct expr **expp;) :
assignment_expression(expp)
{
#ifdef LINT
pre_lint_expr(*expp, RVAL, USED);
lint_expr(*expp, USED);
#endif LINT
if ((*expp)->ex_type->tp_fund == ARRAY)
array2pointer(*expp);