Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(tokenizer): initialize self._col properly to avoid edge case #1678

Merged
merged 4 commits into from
May 23, 2023

Conversation

georgesittas
Copy link
Collaborator

@georgesittas georgesittas commented May 23, 2023

Addresses @mpf82's comment in #1673

@georgesittas georgesittas requested review from treysp and tobymao May 23, 2023 17:04
@georgesittas georgesittas marked this pull request as draft May 23, 2023 17:34
@georgesittas
Copy link
Collaborator Author

I've misunderstood some things, gonna try to improve the fix.

@georgesittas georgesittas changed the title Fix(tokenizer): maintain token start column correctly Fix(tokenizer): initialize self._col properly to avoid edge case May 23, 2023
@georgesittas georgesittas marked this pull request as ready for review May 23, 2023 18:00
@georgesittas georgesittas merged commit 1de5684 into main May 23, 2023
@georgesittas georgesittas deleted the jo/tokenizer_fixups branch May 23, 2023 18:12
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
…ymao#1678)

* Fix(tokenizer): maintain token start column correctly

* Revert changes

* Revert changes

* Fixups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants