summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2010-02-26 01:40:15 +0000
committerBruce Momjian2010-02-26 01:40:15 +0000
commita8307560e0e261b9669a92c2aa0f917b1f01c699 (patch)
tree06ec1d65a10002b24be741d93d24ecf673f17d02 /src
parent87f609c4feb14d2bbe77b80b0e7369908a24eda3 (diff)
Update pgindent instructions to avoid changes to flex output files.
Diffstat (limited to 'src')
-rw-r--r--src/tools/pgindent/README9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README
index 72d3df8f391..133c82852f8 100644
--- a/src/tools/pgindent/README
+++ b/src/tools/pgindent/README
@@ -1,4 +1,4 @@
-$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.31 2009/06/10 01:51:44 momjian Exp $
+$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.32 2010/02/26 01:40:15 momjian Exp $
pgindent
========
@@ -17,6 +17,11 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
xargs -n100 pgindent /tmp/typedefs.pl
+3) pgindent cannot process the YY_INPUT macro generated by flex, so remove
+ the generate C files so they are rebuilt:
+
+ rm -f $(find . -type f -name '*.l' -print | sed 's/l$/c/')
+
---------------------------------------------------------------------------
@@ -42,6 +47,8 @@ src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
are excluded because those files are imported from an external project,
not maintained locally, and are machine-generated anyway.
+YY_INPUT
+
---------------------------------------------------------------------------
Obsolete typedef list creation instructions: