Added patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs in preproc.y.

This commit is contained in:
Michael Meskes 2000-10-31 15:11:38 +00:00
parent 9cbcbf0fb3
commit fae180f477
2 changed files with 8 additions and 3 deletions

View File

@ -999,5 +999,10 @@ Son Oct 29 11:26:06 CET 2000
Mon Oct 30 15:27:12 CET 2000
- Synced gram.y and preproc.y.
Tue Oct 31 16:09:55 CET 2000
- Added patch by Christof Petig <christof.petig@wtal.de> fixing some
parser bugs.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.

View File

@ -2758,11 +2758,11 @@ table_ref: relation_expr
}
| relation_expr alias_clause
{
cat2_str($1, $2);
$$= cat2_str($1, $2);
}
| '(' select_subclause ')' alias_clause
{
cat_str(4, make_str("("), $2, make_str(")"), $4);
$$=cat_str(4, make_str("("), $2, make_str(")"), $4);
}
| joined_table
{
@ -2770,7 +2770,7 @@ table_ref: relation_expr
}
| '(' joined_table ')' alias_clause
{
cat_str(4, make_str("("), $2, make_str(")"), $4);
$$=cat_str(4, make_str("("), $2, make_str(")"), $4);
}
;