[svn:parrot] r36384 - trunk/compilers/imcc

NotFound at svn.parrot.org NotFound at svn.parrot.org
Thu Feb 5 16:33:27 UTC 2009


Author: NotFound
Date: Thu Feb  5 16:33:26 2009
New Revision: 36384
URL: https://trac.parrot.org/parrot/changeset/36384

Log:
[imcc] fix a bison problem, TT #275

Modified:
   trunk/compilers/imcc/imcc.y

Modified: trunk/compilers/imcc/imcc.y
==============================================================================
--- trunk/compilers/imcc/imcc.y	Thu Feb  5 14:21:31 2009	(r36383)
+++ trunk/compilers/imcc/imcc.y	Thu Feb  5 16:33:26 2009	(r36384)
@@ -1826,9 +1826,9 @@
 get_results:
      GET_RESULTS
          {
-           $$ = IMCC_create_itcall_label(interp);
-           $$->type &= ~ITCALL;
-           $$->type |= ITRESULT;
+           $<i>$ = IMCC_create_itcall_label(interp);
+           $<i>$->type &= ~ITCALL;
+           $<i>$->type |= ITRESULT;
          }
      '(' targetlist  ')'       {  $$ = 0; }
    ;
@@ -1907,7 +1907,7 @@
 sub_call:
      the_sub
          {
-           $$ = IMCC_create_itcall_label(interp);
+           $<i>$ = IMCC_create_itcall_label(interp);
            IMCC_itcall_sub(interp, $1);
          }
      '(' arglist ')'           { $$ = $<i>2; }


More information about the parrot-commits mailing list