Page 1 of 1

[text] tag and EOF

Posted: Sat Jun 02, 2012 9:38 am
by kosh
Hi Lutz.

This file is a script which assign a string into str. but missing [/text] tag.

Code: Select all

;; foo.lsp
(setq str [text] 
AAA
BBB
CCC
EOF
When execute this script, becomes the error by lack of memory.

Code: Select all

$ newlisp foo.lsp

ERR: not enough memory
I want to work as follows:

Code: Select all

$ newlisp foo.lsp

ERR: missing end of text [/text]
Regards.

Re: [text] tag and EOF

Posted: Sun Jun 03, 2012 7:56 am
by Lutz
Now displays the correct error behavior: http://www.newlisp.org/downloads/develo ... nprogress/

Re: [text] tag and EOF

Posted: Sun Jun 03, 2012 7:23 pm
by kosh
Thanks! It works well.