# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #24251]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24251 >


Is there a way to get this to barf on .local rather than the call to 
index?

(Was a bit confusing, since I had a working program, then moved the 
.local up to the beginning of the sub. At that point, parrot started 
complaining about my call to index.)

bash-2.05a$ cat bar.imc
.sub _main

  .local int index

  index $I0, "whee", "w"

   end
.end
bash-2.05a$ ../../parrot bar.imc
error:imcc:parse error, unexpected IREG, expecting '='

in file 'bar.imc' line 5

--
Will "Coke" Coleda                                    will at coleda 
dot com



Reply via email to