Hello Duke,

 This is the sub-routine that has the line 271 in HLLCompiler.pir. Please
check.

 224 =item addstage(string stagename [, "option" => value, ... ])
 225
 226 Add a stage to the compilation process queue. Takes either a "before"
or
 227 "after" named argument, which gives the relative ordering of the stage
 228 to be added. If "before" and "after" aren't specified, the new stage is
 229 inserted at the end of the queue.
 230
 231 It's possible to add multiple stages of the same name: for example, you
 232 might repeat a stage like "optimize_tree" or "display_benchmarks" after
 233 each transformation. If you have multiple stages of the same name, and
 234 add a new stage before or after that repeated stage, the new stage will
 235 be added at every instance of the repeated stage.
 236
 237 =cut
 238
 239 .sub 'addstage' :method
 240     .param string stagename
 241     .param pmc adverbs         :slurpy :named
 242
 243     .local string position, target
 244     .local pmc stages
 245     stages = getattribute self, '@stages'
 246
 247     $I0 = exists adverbs['before']
 248     unless $I0 goto next_test
 249       position = 'before'
 250       target = adverbs['before']
 251     goto positional_insert
 252
 253   next_test:
 254     $I0 = exists adverbs['after']
 255     unless $I0 goto simple_insert
 256       position = 'after'
 257       target = adverbs['after']
 258
 259   positional_insert:
 260     .local pmc it, newstages
 261     newstages = new 'ResizableStringArray'
 262
 263     it = iter stages
 264   iter_loop:
 265     unless it goto iter_end
 266     .local pmc current
 267     current = shift it
 268     unless current == target goto no_insert_before
 269       unless position == 'before' goto no_insert_before
 270         push newstages, stagename
 271     no_insert_before:
 272
 273     push newstages, current
 274
 275     unless current == target goto no_insert_after
 276       unless position == 'after' goto no_insert_after
 277         push newstages, stagename
 278     no_insert_after:
 279
 280     goto iter_loop
 281   iter_end:
 282     setattribute self, '@stages', newstages
 283     goto done
 284
 285   simple_insert:
 286     push stages, stagename
 287   done:
 288
 289 .end


Thanks & Regards,
Ashiva

Thanks & Regards,*
Ashraya S Shiva*


On Fri, Sep 6, 2013 at 9:03 PM, Jonathan "Duke" Leto <[email protected]>wrote:

> Howdy,
>
> On Fri, Sep 6, 2013 at 1:31 AM, Ashraya <[email protected]> wrote:
>
>> compilers/pct/src/PCT/HLLCompiler.pir:751
>>
>
> My guess is that there is perhaps some kind of Unicode character or an
> unsupported character set on line 751 of HLLCompiler.pir, could you show us
> what that line looks like on your system?
>
> Duke
>
>
> --
> Jonathan "Duke" Leto <[email protected]>
> Leto Labs LLC http://letolabs.com
> 209.691.DUKE http://duke.leto.net
> @dukeleto <https://twitter.com/dukeleto> LinkedIn<http://linkedin.leto.net>
> Github <https://github.com/leto>
>
>
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to