Skip to content
Browse files

before Parrot 3.6.0, only PMCs could be stored in lexicals

  • Loading branch information...
1 parent 9d61129 commit 1dd0df03615015b8b23b062f951dc4d6b5989952 @fperrad committed Aug 4, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lua/lib/luaio.pir
View
6 lua/lib/luaio.pir
@@ -1,4 +1,4 @@
-# Copyright (C) 2005-2009, Parrot Foundation.
+# Copyright (C) 2005-2011, Parrot Foundation.
# $Id$
=head1 Lua Input/Output Library
@@ -294,7 +294,7 @@ LIST
.sub 'aux_lines' :lex
.param pmc file
- .param pmc toclose
+ .param int toclose
.local pmc res
.lex 'upvar_file', file
.lex 'upvar_toclose', toclose
@@ -312,7 +312,7 @@ LIST
res = read_line(f)
$I0 = isa res, 'LuaNil'
unless $I0 goto L1
- .local pmc toclose
+ .local int toclose
toclose = find_lex 'upvar_toclose'
$I0 = toclose
unless $I0 goto L1

0 comments on commit 1dd0df0

Please sign in to comment.
Something went wrong with that request. Please try again.