newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: kosh on June 02, 2012, 02:38:28 AM

Title: [text] tag and EOF
Post by: kosh on June 02, 2012, 02:38:28 AM
Hi Lutz.



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


;; foo.lsp
(setq str [text]
AAA
BBB
CCC
EOF


When execute this script, becomes the error by lack of memory.


$ newlisp foo.lsp

ERR: not enough memory


I want to work as follows:


$ newlisp foo.lsp

ERR: missing end of text [/text]


Regards.
Title: Re: [text] tag and EOF
Post by: Lutz on June 03, 2012, 12:56:36 AM
Now displays the correct error behavior: http://www.newlisp.org/downloads/development/inprogress/
Title: Re: [text] tag and EOF
Post by: kosh on June 03, 2012, 12:23:54 PM
Thanks! It works well.