From 6b285577cce07cfcf00daea18bd85800ae27158b Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 5 Mar 2021 20:41:47 +1100 Subject: [PATCH] parsergen: remove newline_only newline_only is not wanted any more. It wasn't being set anyway. Signed-off-by: NeilBrown --- csrc/parsergen.mdc | 2 -- 1 file changed, 2 deletions(-) diff --git a/csrc/parsergen.mdc b/csrc/parsergen.mdc index 106f5f3..fe129e6 100644 --- a/csrc/parsergen.mdc +++ b/csrc/parsergen.mdc @@ -1957,7 +1957,6 @@ The go to table is stored in a simple array of `sym` and corresponding short reduce_prod; short reduce_size; short reduce_sym; - char newline_only; short result_size; }; @@ -2918,7 +2917,6 @@ checks if a given token is in any of these look-ahead sets. } force_reduce: if (states[tos->state].reduce_prod >= 0 && - states[tos->state].newline_only && !(tk->num == TK_newline || tk->num == TK_eof || tk->num == TK_out || -- 2.43.0