Skip to content

Commit

Permalink
fix(compiler): Use correct func signature for CommentSyntax on wind…
Browse files Browse the repository at this point in the history
…ows (#2867)
  • Loading branch information
andrewmbenton committed Oct 16, 2023
1 parent b06ee14 commit 2de390d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/engine/postgresql/parse_disabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"io"
"runtime"

"github.com/sqlc-dev/sqlc/internal/metadata"
"github.com/sqlc-dev/sqlc/internal/source"
"github.com/sqlc-dev/sqlc/internal/sql/ast"
)

Expand All @@ -27,8 +27,8 @@ func (p *Parser) Parse(r io.Reader) ([]ast.Statement, error) {
}

// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS
func (p *Parser) CommentSyntax() metadata.CommentSyntax {
return metadata.CommentSyntax{
func (p *Parser) CommentSyntax() source.CommentSyntax {
return source.CommentSyntax{
Dash: true,
SlashStar: true,
}
Expand Down

0 comments on commit 2de390d

Please sign in to comment.