Subject: | newline injection fail |
Date: | Fri, 3 Jul 2009 16:27:45 +0100 |
To: | bug-Devel-Declare [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
The attached test script demonstrates a problem I've run into when
attempting to inject code containing newlines from inside a D::D handler.
The "single" test case, which doesn't involve newlines, works fine.
The remaining test cases all result in syntax errors when normal parsing
resumes. This only occurs when the injected newline is grammatically
whitespace: a newline in an injected string literal works fine.
-zefram
Message body is not shown because sender requested not to inline it.