-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add #\Return to whitespace characters #19
Comments
Thanks for the suggestion. I remember having some thoughts about the proper solution relying on external format mechanism of the Lisp implementation. The idea is that the byte sequences Is the actual use-case about parsing from a string, or this that just an artificial example to demonstrate the problem? |
Thanks for your response. The example is just artificial to show the issue, actually I was trying to use It's not an problem for me since I just switched the line endings, but thought it would be good to fix for others (there is an open issue in Thanks for the info on the external format, unfortunately the latest SBCL binary for windows is 2.3.2 and I've been having some permission issues building from source this morning so I can't test to see if updating the SBCL version would also fix it. I'll try again when I have time. |
I was looking at
aws-sdk
, which usesparser.ini
to parse configuration and credential INI files, which uses this library as a parser. The parse was failing since windows ends its lines with#\Return #\Newline
, not just#\Newline
.Could you add
#\Return
to the whitespace definition inparser.common-rules/src/rules-whitespace.lisp
? Or change the whitespace definition inparser.ini
?As a test case, the following call is currently failing, but adding
#\Return
to the list gives the correct answer:The text was updated successfully, but these errors were encountered: