gcfavorites / hiccup

Automatically exported from code.google.com/p/hiccup
GNU Lesser General Public License v2.1
0 stars 0 forks source link

single element conditionals don't work at all #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
while { 1 } { puts "Forever!" }
should run forever.

However, code in conditional blocks are treated as expressions, so it tries
to execute '1'. 
Obviously, that is wrong.

Original issue reported on code.google.com by consa...@gmail.com on 19 Dec 2007 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by consa...@gmail.com on 7 May 2008 at 8:23