diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-19 22:02:04 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-23 11:52:55 -0800 |
commit | 7081836d86e910efbd3b670904aa2be326d29bb2 (patch) | |
tree | 6aa59ec576d223d49cfd1c7b2dcf361d0d6552e5 /real.make | |
parent | 98225193b93906351dfe2ad594a390997e301584 (diff) | |
download | tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.gz tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.bz2 tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.tar.xz tmwa-7081836d86e910efbd3b670904aa2be326d29bb2.zip |
Refactor the lex indenter so that it can (almost) format yacc files
Diffstat (limited to 'real.make')
-rw-r--r-- | real.make | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |