Normalize comment in empty grammar rules
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 16 Nov 2020 10:54:52 +0000 (11:54 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 16 Nov 2020 10:54:52 +0000 (11:54 +0100)
Change lower case /* empty */ to /* EMPTY */ for consistency with the
majority.

Discussion: https://www.postgresql.org/message-id/flat/e9eed669-e32d-6919-fed4-acc0daea857b%40enterprisedb.com

src/backend/parser/gram.y

index 6ca9072684c4e9bbd5678993fd1d8cfe46ffd9a3..2cb377d03423f1a14455aef91a3a94bfe37c7809 100644 (file)
@@ -4320,7 +4320,7 @@ SeqOptElem: AS SimpleTypename
        ;
 
 opt_by:        BY
-           | /* empty */
+           | /* EMPTY */
      ;
 
 NumericOnly:
@@ -5808,7 +5808,7 @@ AlterEnumStmt:
         ;
 
 opt_if_not_exists: IF_P NOT EXISTS              { $$ = true; }
-       | /* empty */                          { $$ = false; }
+       | /* EMPTY */                          { $$ = false; }
        ;
 
 
@@ -6555,7 +6555,7 @@ SecLabelStmt:
        ;
 
 opt_provider:  FOR NonReservedWord_or_Sconst   { $$ = $2; }
-               | /* empty */                   { $$ = NULL; }
+               | /* EMPTY */                   { $$ = NULL; }
        ;
 
 security_label:    Sconst              { $$ = $1; }