]> granicus.if.org Git - postgis/commitdiff
Correctly handle the new lexer/parser output files
authorPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 22 Feb 2012 23:13:20 +0000 (23:13 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Wed, 22 Feb 2012 23:13:20 +0000 (23:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9272 b70326c6-7e19-0410-871a-916f4a2858ee

astyle.sh

index 1cc60f69a7e2cb2a2eb3eb31d4fccc62a7b5883b..333dde8a48156b6943c261d3efb84eb58bf4d6b2 100755 (executable)
--- a/astyle.sh
+++ b/astyle.sh
@@ -20,7 +20,7 @@ fi
 # Find all "pure" C files in the codebase
 #   - not .in.c used for .sql generation
 #   - not lex.yy.c or wktparse.tab.c as these are generated files
-CFILES=`find . -name '*.c' -not \( -name '*.in.c' -o -name 'wktparse.tab.c' -o -name 'lex.yy.c' \)`
+CFILES=`find . -name '*.c' -not \( -name '*.in.c' -o -name '*_parse.c' -o -name '*_lex.c' \)`
 
 # Run the standard format on the files, and do not 
 # leave .orig files around for altered files.