From: NeilBrown Date: Fri, 5 Mar 2021 09:41:47 +0000 (+1100) Subject: parsergen: remove newline_only X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=commitdiff_plain;h=6b285577cce07cfcf00daea18bd85800ae27158b parsergen: remove newline_only newline_only is not wanted any more. It wasn't being set anyway. Signed-off-by: NeilBrown --- 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 ||