Skip to content
Snippets Groups Projects
Commit 67784456 authored by Michael Meskes's avatar Michael Meskes
Browse files

Fixed incorrect output for some structs.

parent 5493ecc3
No related branches found
No related tags found
No related merge requests found
...@@ -1441,6 +1441,10 @@ Fri May 23 11:46:15 CEST 2003 ...@@ -1441,6 +1441,10 @@ Fri May 23 11:46:15 CEST 2003
- Synced parser and keyword table. - Synced parser and keyword table.
- ecpg now accepts array elements as input variables. - ecpg now accepts array elements as input variables.
Tue May 27 13:29:28 CEST 2003
- Fixed incorrect output for some structs.
- Set ecpg version to 2.12.0. - Set ecpg version to 2.12.0.
- Set ecpg library to 3.4.2. - Set ecpg library to 3.4.2.
- Set pgtypes library to 1.0.0 - Set pgtypes library to 1.0.0
......
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.222 2003/05/23 15:19:34 meskes Exp $ */ /* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.223 2003/05/27 11:31:52 meskes Exp $ */
/* Copyright comment */ /* Copyright comment */
%{ %{
...@@ -3783,8 +3783,6 @@ update_target_list: update_target_list ',' update_target_el ...@@ -3783,8 +3783,6 @@ update_target_list: update_target_list ',' update_target_el
} }
| update_target_el | update_target_el
{ $$ = $1; } { $$ = $1; }
| '*'
{ $$ = make_str("*"); }
; ;
inf_col_list: ColId opt_indirection inf_col_list: ColId opt_indirection
...@@ -4833,7 +4831,11 @@ s_struct_union_symbol: SQL_STRUCT symbol ...@@ -4833,7 +4831,11 @@ s_struct_union_symbol: SQL_STRUCT symbol
} }
; ;
s_struct_union: SQL_STRUCT { $$ = make_str("struct"); } s_struct_union: SQL_STRUCT
{
ECPGstruct_sizeof = make_str(""); /* This must not be NULL to distinguish from simple types. */
$$ = make_str("struct");
}
| UNION { $$ = make_str("union"); } | UNION { $$ = make_str("union"); }
; ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment