From: Michael Meskes Date: Fri, 16 Oct 2015 15:29:05 +0000 (+0200) Subject: Fix order of arguments in ecpg generated typedef command. X-Git-Tag: REL9_1_20~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9bcd8370391a0cdf2aa6af357ba4a735f60390e;p=postgresql Fix order of arguments in ecpg generated typedef command. --- diff --git a/src/interfaces/ecpg/preproc/ecpg.trailer b/src/interfaces/ecpg/preproc/ecpg.trailer index 37e8dbb7eb..709a17679b 100644 --- a/src/interfaces/ecpg/preproc/ecpg.trailer +++ b/src/interfaces/ecpg/preproc/ecpg.trailer @@ -1296,7 +1296,7 @@ ECPGTypedef: TYPE_P if (auto_create_c == false) $$ = cat_str(7, mm_strdup("/* exec sql type"), mm_strdup($3), mm_strdup("is"), mm_strdup($5.type_str), mm_strdup($6.str), $7, mm_strdup("*/")); else - $$ = cat_str(6, mm_strdup("typedef "), mm_strdup($5.type_str), *$7?mm_strdup("*"):mm_strdup(""), mm_strdup($6.str), mm_strdup($3), mm_strdup(";")); + $$ = cat_str(6, mm_strdup("typedef "), mm_strdup($5.type_str), *$7?mm_strdup("*"):mm_strdup(""), mm_strdup($3), mm_strdup($6.str), mm_strdup(";")); } ;