8000 fix(compiler): Use correct func signature for `CommentSyntax` on wind… · sqlc-dev/sqlc@2de390d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2de390d

Browse files
fix(compiler): Use correct func signature for CommentSyntax on windows (#2867)
1 parent b06ee14 commit 2de390d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/engine/postgresql/parse_disabled.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"io"
99
"runtime"
1010

11-
"github.com/sqlc-dev/sqlc/internal/metadata"
11+
"github.com/sqlc-dev/sqlc/internal/source"
1212
"github.com/sqlc-dev/sqlc/internal/sql/ast"
1313
)
1414

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

2929
// https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS
30-
func (p *Parser) CommentSyntax() metadata.CommentSyntax {
31-
return metadata.CommentSyntax{
30+
func (p *Parser) CommentSyntax() source.CommentSyntax {
31+
return source.CommentSyntax{
3232
Dash: true,
3333
SlashStar: true,
3434
}

0 commit comments

Comments
 (0)
0