From df5d69a59ff5af28a66cec7ca0e88ec0b67f4ab4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 2 Mar 2014 17:03:12 -0800 Subject: * parser.y (unquotes_occur): Fix use of unquote_s rather than sys_unquote_s which breaks backquote, caught by tests/010/reghash.txr. I thought fixed this already! But I must have made the change to y.tab.c rather than parser.y. * Makefile (lex.yy.c, y.tab.c): Make these files readonly to prevent unintended edits. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c1a380da..10871021 100644 --- a/Makefile +++ b/Makefile @@ -62,9 +62,10 @@ VPATH := $(top_srcdir) lex.yy.c: parser.l $(LEX) $(LEX_DBG_FLAGS) $< + chmod a-w $@ y.tab.c y.tab.h: parser.y - if $(YACC) -v -d $< ; then true ; else rm $@ ; false ; fi + if $(YACC) -v -d $< ; then chmod a-w $@ ; true ; else rm $@ ; false ; fi # Suppress useless sccs id array and unused label warning in byacc otuput. # Bison-generated parser also tests for this lint define. -- cgit v1.2.3