From: Jean Privat Date: Sat, 22 Jan 2011 03:04:59 +0000 (-0500) Subject: parser: gnu sed do not like spaces X-Git-Tag: v0.4~20 X-Git-Url: http://nitlanguage.org parser: gnu sed do not like spaces Fix 7d4ae02b1e07bc065063. Next time do not forget to check that the parser is really buildable. Signed-off-by: Jean Privat --- diff --git a/src/parser/Makefile b/src/parser/Makefile index 0bb0426..d752d1e 100644 --- a/src/parser/Makefile +++ b/src/parser/Makefile @@ -27,7 +27,7 @@ parser.nit: .nit.sablecc3 xss/*.xss ${SABLECC} -c .nit.sablecc3.dump -t xss/main.xss -p usermodule parser_nodes .nit.sablecc3 mv -f -- parser.nit .parser-nofact.nit ./fact_parser.pl .parser-nofact.nit > parser.nit - LANG=C sed -i .orig -e 's/\([ \[]\)P\([A-Z]\)/\1A\2/g' parser.nit parser_abs.nit parser_prod.nit parser_tables.nit lexer.nit + LANG=C sed -i.orig -e 's/\([ \[]\)P\([A-Z]\)/\1A\2/g' parser.nit parser_abs.nit parser_prod.nit parser_tables.nit lexer.nit clean: rm -f -- .nit.sablecc3 .nit.sablecc3.dump .parser-nofact.nit || true