You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a feature, but I need to backtrack after a capture and it does not seem to work.
I have this use case:
I want to parse an array of the form [a,b,c,d,…] with a, b, c being either integer or floating-point number (using standard C-like format), i.e. :
The issue is that when I want to parse a float (e.g., 500.0), it is first parsed as an int (500), before a "." symbol is encountered instead of the expected ",". I expect that the parser backtracks and parses 500.0 as a float instead.
Is this a bug, a feature, or am I missing something?
I am using FastParse 2.1.2 and ScriptWhitespace.
The text was updated successfully, but these errors were encountered:
This may be a feature, but I need to backtrack after a capture and it does not seem to work.
I have this use case:
I want to parse an array of the form [a,b,c,d,…] with a, b, c being either integer or floating-point number (using standard C-like format), i.e. :
The issue is that when I want to parse a float (e.g., 500.0), it is first parsed as an int (500), before a "." symbol is encountered instead of the expected ",". I expect that the parser backtracks and parses 500.0 as a float instead.
Is this a bug, a feature, or am I missing something?
I am using FastParse 2.1.2 and ScriptWhitespace.
The text was updated successfully, but these errors were encountered: