[text] tag and EOF

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
kosh
Posts: 72
Joined: Sun Sep 13, 2009 5:38 am
Location: Japan
Contact:

[text] tag and EOF

Post 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.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: [text] tag and EOF

Post by Lutz »

Now displays the correct error behavior: http://www.newlisp.org/downloads/develo ... nprogress/

kosh
Posts: 72
Joined: Sun Sep 13, 2009 5:38 am
Location: Japan
Contact:

Re: [text] tag and EOF

Post by kosh »

Thanks! It works well.

Locked