---
source: crates/squawk_parser/tests/tests.rs
input_file: crates/squawk_parser/tests/data/err/copy.sql
---
SOURCE_FILE
  COMMENT "-- missing a couple commas"
  WHITESPACE "\n"
  COPY
    COPY_KW "copy"
    WHITESPACE " "
    PATH
      PATH_SEGMENT
        NAME_REF
          IDENT "x"
    WHITESPACE " "
    COLUMN_LIST
      L_PAREN "("
      COLUMN
        NAME_REF
          IDENT "i"
      WHITESPACE " "
      COLUMN
        NAME_REF
          IDENT "y"
      R_PAREN ")"
    WHITESPACE " "
    FROM_KW "from"
    WHITESPACE " "
    LITERAL
      STRING "'/tmp/input.file'"
    WHITESPACE " "
    COPY_OPTION_LIST
      L_PAREN "("
      COPY_OPTION
        NAME
          IDENT "on_error"
        WHITESPACE " "
        IGNORE_KW "ignore"
      WHITESPACE "  "
      COPY_OPTION
        NAME
          IDENT "log_verbosity"
        WHITESPACE " "
        VERBOSE_KW "verbose"
      R_PAREN ")"
  SEMICOLON ";"
  WHITESPACE "\n"
---
error[syntax-error]: expected COMMA
  ╭▸ 
2 │ copy x (i y) from '/tmp/input.file' (on_error ignore  log_verbosity verbose);
  ╰╴         ━
error[syntax-error]: expected COMMA
  ╭▸ 
2 │ copy x (i y) from '/tmp/input.file' (on_error ignore  log_verbosity verbose);
  ╰╴                                                    ━
