From: Bruce Momjian Date: Fri, 2 Nov 2001 23:43:24 +0000 (+0000) Subject: Add check for 'extern "C"' for pgindent. X-Git-Tag: REL7_2_BETA2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04550d3c90b6d3afee5329e015100519a02f21cc;p=postgresql Add check for 'extern "C"' for pgindent. --- diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent index ed7a1279a4..82d537e2df 100755 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@ -51,6 +51,7 @@ do line1 !~ "^struct" && line1 !~ "^enum" && line1 !~ "^typedef" && + line1 !~ "\"C\"" && line1 !~ "=" ) print "int pgindent_func_no_var_fix;"; line1 = line2;