Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a830756

Browse files
committed
Update pgindent instructions to avoid changes to flex output files.
1 parent 87f609c commit a830756

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/tools/pgindent/README

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.31 2009/06/10 01:51:44 momjian Exp $
1+
$PostgreSQL: pgsql/src/tools/pgindent/README,v 1.32 2010/02/26 01:40:15 momjian Exp $
22

33
pgindent
44
========
@@ -17,6 +17,11 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
1717
egrep -v '/s_lock.h|/ecpg/test/expected/|/snowball/libstemmer/' |
1818
xargs -n100 pgindent /tmp/typedefs.pl
1919

20+
3) pgindent cannot process the YY_INPUT macro generated by flex, so remove
21+
the generate C files so they are rebuilt:
22+
23+
rm -f $(find . -type f -name '*.l' -print | sed 's/l$/c/')
24+
2025

2126
---------------------------------------------------------------------------
2227

@@ -42,6 +47,8 @@ src/include/snowball/libstemmer/ and src/backend/snowball/libstemmer/
4247
are excluded because those files are imported from an external project,
4348
not maintained locally, and are machine-generated anyway.
4449

50+
YY_INPUT
51+
4552
---------------------------------------------------------------------------
4653

4754
Obsolete typedef list creation instructions:

0 commit comments

Comments
 (0)