From 7081836d86e910efbd3b670904aa2be326d29bb2 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 19 Dec 2013 22:02:04 -0800 Subject: Refactor the lex indenter so that it can (almost) format yacc files --- real.make | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'real.make') diff --git a/real.make b/real.make index 58eae29..0177de0 100644 --- a/real.make +++ b/real.make @@ -386,11 +386,11 @@ dist: dist/tmwa-${VERSION_FULL}-src.tar dist/tmwa-${VERSION_FULL}-bundled.tar format: format-cpp format-hpp format-lpp format-ypp format-cpp: - cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_SOURCES} + cd ${SRC_DIR} && apply-filter 'indenter -cpp' ${REAL_SOURCES} format-hpp: - cd ${SRC_DIR} && apply-filter indent-cpp ${REAL_HEADERS} + cd ${SRC_DIR} && apply-filter 'indenter -cpp' ${REAL_HEADERS} format-lpp: - cd ${SRC_DIR} && apply-filter indent-lpp ${LEXERS} + cd ${SRC_DIR} && apply-filter 'indenter -lpp' ${LEXERS} format-ypp: - cd ${SRC_DIR} && apply-filter indent-ypp ${PARSERS} + cd ${SRC_DIR} && apply-filter 'indenter -ypp' ${PARSERS} .PHONY: format format-cpp format-hpp format-lpp format-ypp -- cgit v1.2.3-70-g09d2