[Bese-devel] parenscript & missing ";"

Henrik Hjelte henrik at evahjelte.com
Sat Jul 15 20:31:51 UTC 2006


On Sat, 2006-07-15 at 18:10 +0300, Evrim ULU wrote:
> Hi,
> 
> I'm having problems while compilling parenscripts. It seems parenscript
> js:js misses ";" characters at the end.
> 
> CL-USER> (js:js* `(setf gee (lambda () nil)) `(setf eeg (lambda () t)))
> "gee =
> function () {
>   null;
> }
> eeg =
> function () {
>   true;
> }"
> 
> If this is case and newlines inside the code is omitted, IE does not
> compile this js code and complains about missing ";" between two
> declerations. If there exists a newline, no error is thrown.
> 
> Is there a way to "formalize" parenscript js code by adding ; to the end
> of the statements?

This was a bug in parenscript, the suspicious looking function
special-append-to-last just skipped semicolons if the statement ended
with any of #\, #\} or #\; . I have pushed a bugfix to the darcs
repository, hope it doesn't break anything in parenscripts strange
dwim-join code..

/Henrik Hjelte

> 
> evrim.
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
> 
> 




More information about the bese-devel mailing list