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
'\uFFFF' is FParsec's special end-of-stream character (EOS). Unfortunately, there are some files in the wild that actually contain this character, and anyChar will fail when it encounters it:
let str = string EOS
let result = runParserOnString anyChar () "" str
printfn "%A" result
Output:
Failure:
Error in Ln: 1 Col: 2
�
^
Note: The error occurred at the end of the input stream.
Expecting: any char
The text was updated successfully, but these errors were encountered:
'\uFFFF'
is FParsec's special end-of-stream character (EOS). Unfortunately, there are some files in the wild that actually contain this character, andanyChar
will fail when it encounters it:Output:
The text was updated successfully, but these errors were encountered: