Rework expr_landor

so that it also is called from the precedence parser.  This
is complicated by the fact that something needs to be done before
the second operand is parsed in a single pass compiler, so it
doesn't quite fit into expr_infix itself.  It turns out the smallest
code changes result when expr_landor remains separate.  But it can
be tidied a bit.
This commit is contained in:
Michael Matz
2020-01-13 01:06:25 +01:00
parent 23a8bac7b5
commit aeac24de98
3 changed files with 120 additions and 99 deletions

View File

@@ -1,4 +1,5 @@
#include <stdio.h>
//#include <stdio.h>
extern int printf(const char *, ...);
int main()
{