abcl icon indicating copy to clipboard operation
abcl copied to clipboard

Compile problems with TAGBODY <http://abcl.org/trac/ticket/454>

Open pfdietz opened this issue 8 years ago • 2 comments

(compile nil '(lambda () (tagbody (catch 'c 100)))) ==>

COMPILE-TAGBODY: tag not found: 100 [Condition of type SIMPLE-ERROR]

pfdietz avatar Oct 03 '17 21:10 pfdietz

p1-tagbody runs p1 on every subform for p2-tagbody-node to use (stored in tagbody-form), however that means that e.g. (catch 'c 100) is already expanded to 100 when labels are being looked up. Quick fix would be to retain the original and expanded form and iterate simultaneously through them maybe (as in, that works but might not be the greatest fix)?

Ferada avatar Nov 19 '17 12:11 Ferada

Possible fix here https://github.com/Ferada/abcl/commit/af26d6c47d80371a5f6d2c61e8958f286bd5b45e.

Ferada avatar Nov 20 '17 17:11 Ferada