summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes2008-06-05 06:25:23 +0000
committerMichael Meskes2008-06-05 06:25:23 +0000
commit59b67db158236390b05e70207a24abdbb44a9b84 (patch)
tree24bbde4a6360d9d1152f344150e35c292d3b8ed4
parent06607007b448fcfe2ab7ac37ad7304e7ca38e978 (diff)
Added SQL symbol for variable names here too.
-rw-r--r--src/interfaces/ecpg/preproc/preproc.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y
index d170d032746..93e0c4fd842 100644
--- a/src/interfaces/ecpg/preproc/preproc.y
+++ b/src/interfaces/ecpg/preproc/preproc.y
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.6 2007/11/06 08:32:57 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.311.2.7 2008/06/05 06:25:23 meskes Exp $ */
/* Copyright comment */
%{
@@ -5901,6 +5901,7 @@ ECPGKeywords_vanames: SQL_BREAK { $$ = make_str("break"); }
| SQL_RETURNED_OCTET_LENGTH { $$ = make_str("returned_octet_length"); }
| SQL_SCALE { $$ = make_str("scale"); }
| SQL_SECTION { $$ = make_str("section"); }
+ | SQL_SQL { $$ = make_str("sql"); }
| SQL_SQLERROR { $$ = make_str("sqlerror"); }
| SQL_SQLPRINT { $$ = make_str("sqlprint"); }
| SQL_SQLWARNING { $$ = make_str("sqlwarning"); }