Skip to content

Duplicated %type declarations in postgres/parser/parser/sql.y #1592

@mingodad

Description

@mingodad

When I try to run bison-3.8.2 on postgres/parser/parser/sql.y I'm getting this:

bison  doltgresql.y
doltgresql.y:1126.27-39: error: %type redeclaration for opt_icu_rules
 1126 | %type <str> opt_icu_rules opt_icu_rules opt_locale_provider opt_colla...
      |                           ^~~~~~~~~~~~~
doltgresql.y:1126.13-25: note: previous declaration
 1126 | %type <str> opt_icu_rules opt_icu_rules opt_locale_provider opt_colla...
      |             ^~~~~~~~~~~~~
doltgresql.y:1291.20-32: error: %type redeclaration for rowsfrom_list
 1291 | %type <tree.Exprs> rowsfrom_list
      |                    ^~~~~~~~~~~~~
doltgresql.y:1207.35-47: note: previous declaration
 1207 | %type <tree.TableExprs> from_list rowsfrom_list opt_from_list
      |                                   ^~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions