Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35b5509 commit 1349839Copy full SHA for 1349839
src/backend/parser/gram.y
@@ -11,7 +11,7 @@
11
*
12
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.535 2006/03/14 22:48:20 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.536 2006/03/14 23:03:20 tgl Exp $
15
16
* HISTORY
17
* AUTHOR DATE MAJOR EVENT
@@ -63,7 +63,12 @@
63
64
/* Location tracking support --- simpler than bison's default */
65
#define YYLLOC_DEFAULT(Current, Rhs, N) \
66
- Current = Rhs[1];
+ do { \
67
+ if (N) \
68
+ (Current) = (Rhs)[1]; \
69
+ else \
70
+ (Current) = (Rhs)[0]; \
71
+ } while (0)
72
73
extern List *parsetree; /* final parse result is delivered here */
74
0 commit comments