terrajobst / nquery-vnext

A Roslyn inspired rewrite of NQuery
MIT License
72 stars 16 forks source link

Fix lexing of floating points #6

Closed terrajobst closed 7 years ago

terrajobst commented 7 years ago

In #5 we've tried to fix the lexing of floating point numbers when an identifier follows the period. Unfortunately, the condition was still malformed and causes this expression to be lexed as a single number:

SELECT 10.GetTypeCode()

This should fix that.

/cc @dallmair

dallmair commented 7 years ago

Yep, I came to a similar conclusion last night and didn't have time to create a PR today, unfortunately. Thanks for fixing it right away!