diff options
author | Bruce Momjian | 2011-09-24 13:24:14 +0000 |
---|---|---|
committer | Bruce Momjian | 2011-09-24 13:24:14 +0000 |
commit | 337c0b03614c45516f2c3ec956405713bb264d54 (patch) | |
tree | 1f62ea5a0c42c2d195b94735ce4f4b20bb622269 | |
parent | 0126db2a469c7dbe540354f4ac6691a6c1e3b94e (diff) |
Expand pgrminclude to exclude use of macros CppAsString and CppConcat.
-rwxr-xr-x | src/tools/pginclude/pgrminclude | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude index d60519a037..7dc5f58d8b 100755 --- a/src/tools/pginclude/pgrminclude +++ b/src/tools/pginclude/pgrminclude @@ -43,8 +43,8 @@ compile_file() { [ "$INCLUDE" = "postgres_fe.h" ] && continue [ "$INCLUDE" = "pg_config.h" ] && continue [ "$INCLUDE" = "c.h" ] && continue - # CppAsString2 will expand undefined identifiers, so skip files that use it - grep -q '\<CppAsString2\>' "$FILE" && continue + # Stringify macros will expand undefined identifiers, so skip files that use it + egrep -q '\<(CppAsString2?|CppConcat)\>' "$FILE" && continue # preserve configure-specific includes # these includes are surrounded by #ifdef's |