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 tokenization of numbers followed by .. #207

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

BenPH
Copy link
Contributor

@BenPH BenPH commented Jan 24, 2023

Adapted from JuliaLang/JuliaSyntax.jl#143.

Fixes the issue as reported in julia-vscode/julia-vscode#3186.

@codecov
Copy link

codecov bot commented Jan 24, 2023

Codecov Report

Merging #207 (22d1e17) into master (8d2aa01) will increase coverage by 12.84%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master     #207       +/-   ##
===========================================
+ Coverage   82.53%   95.37%   +12.84%     
===========================================
  Files           4        6        +2     
  Lines         836      844        +8     
===========================================
+ Hits          690      805      +115     
+ Misses        146       39      -107     
Impacted Files Coverage Δ
src/lexer.jl 95.86% <100.00%> (+2.94%) ⬆️
src/token_kinds.jl 100.00% <0.00%> (ø)
src/Tokenize.jl 100.00% <0.00%> (ø)
src/token.jl 85.00% <0.00%> (+9.05%) ⬆️
src/_precompile.jl 100.00% <0.00%> (+100.00%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pfitzseb pfitzseb merged commit 50e1f64 into JuliaLang:master Apr 22, 2024
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