]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Added the missing rules for VOLATILE.
authorMichael Meskes <meskes@postgresql.org>
Tue, 2 Mar 2004 06:52:18 +0000 (06:52 +0000)
committerMichael Meskes <meskes@postgresql.org>
Tue, 2 Mar 2004 06:52:18 +0000 (06:52 +0000)
src/interfaces/ecpg/preproc/preproc.y

index 463b59385d235e6d3d97bc7aad13c49c29175dc2..26eaaa015a9095e4752d16779da189bef5e0a3ad 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.263.2.8 2004/02/15 15:40:54 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.263.2.9 2004/03/02 06:52:18 meskes Exp $ */
 
 /* Copyright comment */
 %{
@@ -5792,11 +5792,12 @@ ECPGColLabel:  ECPGColLabelCommon                       { $$ = $1; }
                ;
 
 ECPGCKeywords: S_AUTO                  { $$ = make_str("auto"); }
-               | S_CONST                       { $$ = make_str("const"); }
-               | S_EXTERN                      { $$ = make_str("extern"); }
-               | S_REGISTER                    { $$ = make_str("register"); }
-               | S_STATIC                      { $$ = make_str("static"); }
-               | S_TYPEDEF                     { $$ = make_str("typedef"); }
+               | S_CONST               { $$ = make_str("const"); }
+               | S_EXTERN              { $$ = make_str("extern"); }
+               | S_REGISTER            { $$ = make_str("register"); }
+               | S_STATIC              { $$ = make_str("static"); }
+               | S_TYPEDEF             { $$ = make_str("typedef"); }
+               | S_VOLATILE            { $$ = make_str("volatile"); }
                ;
                
 /*
@@ -6260,6 +6261,7 @@ c_anything:  IDENT                                { $$ = $1; }
                | S_STATIC                      { $$ = make_str("static"); }
                | S_SUB                         { $$ = make_str("-="); }
                | S_TYPEDEF                     { $$ = make_str("typedef"); }
+               | S_VOLATILE                    { $$ = make_str("volatile"); }
                | SQL_BOOL                      { $$ = make_str("bool"); }
                | SQL_ENUM                      { $$ = make_str("enum"); }
                | HOUR_P                        { $$ = make_str("hour"); }