chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix argument error on incomplete here document


From: Evan Hanson
Subject: [Chicken-hackers] [PATCH] Fix argument error on incomplete here document tag due to (string-length #!eof)
Date: Sat, 21 Dec 2013 20:50:09 +1300

Hi all, here's another very minor fix.

An incomplete here document tag (consisting of only "#<<") currently
gives the following error:

    Error: (string-length) bad argument type: #!eof
    ...

Same for "#<#" tags. There's code around that area to warn and continue
in this and similar situations but it's hitting this error before that's
reached. This patch adjusts a utility method in that read hook to work
like the surrounding code seems to expect, so that it hits those code
paths.

Cheers,

Evan

Attachment: 0001-Fix-argument-error-on-incomplete-here-document-tag-d.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]