Hi Jon,
> right now, but if you try this ...
>
> (ifwarnfile "lib/form.l")
Yes, it hangs.
I traced 'read' and 'ifwarn' and found the reason to be line 1267:
(mapc 'set> G ((: put) D I) '(T .)) )
'(T .) is a circular list, and 'mapcar' will loop infinitely.
BTW, 'mapcar' builds a list whic
Hi Alex,
> behaviour ;-), so I probably should use something else than 'str' for
this.
...
> (de ifwarnfile (Path)
(in Path (ifwarn (str (till NIL T )
How about, for example,
(in Path
(while (read)
(ifwarn @) ) )
Cheers,
Alex
Yes, I've now modified 'ifw
Hi Jon,
> I used 'str' when reading .l files to check my own and your use of
> '(if x y)' vs. '(when x y)'
BTW, there is a function 'who' which does similar things.
(not documented yet)
You can call it as
: (who 'if)
-> list of all functions calling 'if'
or with a pattern
: (who '(i
Hi Jon,
> behaviour ;-), so I probably should use something else than 'str' for
> this.
> ...
> (de ifwarnfile (Path)
> (in Path (ifwarn (str (till NIL T )
How about, for example,
(in Path
(while (read)
(ifwarn @) ) )
Cheers,
Alex
--
Software Lab. Alexander Burg
Hi Alex,
Hi Jon,
> That was a quick fix! Thanks.
Yes, because you triggered it finally :-) A few days ago, Henrik also
stubled across this bug, and something had to be done about it.
Having a '#' in an argument to 'str' is something not really intended.
'str' parses formally valid Lisp exp
Hi Jon,
> That was a quick fix! Thanks.
Yes, because you triggered it finally :-) A few days ago, Henrik also
stubled across this bug, and something had to be done about it.
Having a '#' in an argument to 'str' is something not really intended.
'str' parses formally valid Lisp expression, and
Hi Alex,
That was a quick fix! Thanks.
/Jon
On Wed, Apr 09, 2008 at 12:38:06PM +0200, Jon Kleiser wrote:
I've stumbled across this: If I try to run (str "#"), then I get "EOF
Overrun". My questions then are
1) What does it mean?
Sorry, this is a known bug ;-)
'str' parses all tokens in
On Wed, Apr 09, 2008 at 12:38:06PM +0200, Jon Kleiser wrote:
> I've stumbled across this: If I try to run (str "#"), then I get "EOF
> Overrun". My questions then are
>
> 1) What does it mean?
Sorry, this is a known bug ;-)
'str' parses all tokens in the given string, and builds a list. If the