|
4 | 4 | /*------------------------------------------------------------------------- |
5 | 5 | * |
6 | 6 | * gram.y |
7 | | - *POSTGRES SQL YACC rules/actions |
| 7 | + *POSTGRESQL BISON rules/actions |
8 | 8 | * |
9 | 9 | * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group |
10 | 10 | * Portions Copyright (c) 1994, Regents of the University of California |
11 | 11 | * |
12 | 12 | * |
13 | 13 | * IDENTIFICATION |
14 | | - * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.666 2009/07/06 02:58:40 tgl Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.667 2009/07/12 17:12:33 tgl Exp $ |
15 | 15 | * |
16 | 16 | * HISTORY |
17 | 17 | * AUTHORDATEMAJOR EVENT |
|
58 | 58 | #include"nodes/makefuncs.h" |
59 | 59 | #include"nodes/nodeFuncs.h" |
60 | 60 | #include"parser/gramparse.h" |
| 61 | +#include"parser/parser.h" |
61 | 62 | #include"storage/lmgr.h" |
62 | 63 | #include"utils/date.h" |
63 | 64 | #include"utils/datetime.h" |
@@ -6807,7 +6808,7 @@ opt_hold: /* EMPTY */{ $$ = 0; } |
6807 | 6808 | * |
6808 | 6809 | * There is an ambiguity when a sub-SELECT is within an a_expr and there |
6809 | 6810 | * are excess parentheses: do the parentheses belong to the sub-SELECT or |
6810 | | - * to the surrounding a_expr? We don't really care, butyacc wants to know. |
| 6811 | + * to the surrounding a_expr? We don't really care, butbison wants to know. |
6811 | 6812 | * To resolve the ambiguity, we are careful to define the grammar so that |
6812 | 6813 | * the decision is staved off as long as possible: as long as we can keep |
6813 | 6814 | * absorbing parentheses into the sub-SELECT, we will do so, and only when |
@@ -8204,7 +8205,7 @@ a_expr:c_expr{ $$ = $1; } |
8204 | 8205 | } |
8205 | 8206 | /* |
8206 | 8207 | * These operators must be called out explicitly in order to make use |
8207 | | - * ofyacc/bison's automatic operator-precedence handling. All other |
| 8208 | + * of bison's automatic operator-precedence handling. All other |
8208 | 8209 | * operator names are handled by the generic productions using "Op", |
8209 | 8210 | * below; and all those operators will have the same precedence. |
8210 | 8211 | * |
|