Hi,

It looks as though blanks aren't always significant during parsing
a Unicon program.  In the first assignment below, "|   |" appears
to be parsed as the token "||":

----------------------------------------
procedure main()
     p := [: 1|2|3|   |0\3 :]
     every writes((!p||" ")|"\n")
     p := [: 1|2|3| (|0\3) :]
     every writes((!p||" ")|"\n")
end
----------------------------------------

output:

----------------------------------------
->bug
1 2 30
1 2 3 0 0 0
->
----------------------------------------

Isn't this a bug?
-Steve
-- 
Steve Wampler -- swamp...@noao.edu
The gods that smiled on your birth are now laughing out loud.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to