Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Apr 21, 2010
1 parent c9f4698 commit f17b2b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions lua/grammar51.pir
@@ -1,4 +1,4 @@
# Copyright (C) 2006-2009, Parrot Foundation.
# Copyright (C) 2006-2010, Parrot Foundation.
# $Id$

=head1 elements of grammar for Lua 5.1
Expand All @@ -24,7 +24,7 @@ L<http://www.lua.org/manual/5.1/manual.html#2.1>.

=cut

.sub 'syntaxerror' :method
.sub 'syntaxerror' :method :nsentry
.param string message :optional
.param pmc adv :slurpy :named
unless null message goto L1
Expand Down
20 changes: 10 additions & 10 deletions lua/lib/luafile.pir
@@ -1,4 +1,4 @@
# Copyright (C) 2007-2009, Parrot Foundation.
# Copyright (C) 2007-2010, Parrot Foundation.
# $Id$

=head1 Lua Input/Output Library
Expand Down Expand Up @@ -58,7 +58,7 @@ are garbage collected, but that takes an unpredictable amount of time to happen.

=cut

.sub 'close' :method
.sub 'close' :method :nsentry
.param pmc extra :slurpy
.local pmc res
tofile(self)
Expand All @@ -73,7 +73,7 @@ Saves any written data to C<file>.

=cut

.sub 'flush' :method
.sub 'flush' :method :nsentry
.param pmc extra :slurpy
.local pmc f
.local pmc res
Expand All @@ -97,7 +97,7 @@ does not close the file when the loop ends.)

=cut

.sub 'lines' :method
.sub 'lines' :method :nsentry
.param pmc extra :slurpy
tofile(self)
.tailcall aux_lines(self, 0)
Expand Down Expand Up @@ -141,7 +141,7 @@ empty string, or B<nil> on end of file.

=cut

.sub 'read' :method
.sub 'read' :method :nsentry
.param pmc formats :slurpy
.local pmc res
.local pmc f
Expand Down Expand Up @@ -239,7 +239,7 @@ position to the end of the file, and returns its size.

=cut

.sub 'seek' :method
.sub 'seek' :method :nsentry
.param pmc whence :optional
.param pmc offset :optional
.param pmc extra :slurpy
Expand Down Expand Up @@ -285,7 +285,7 @@ The default is an appropriate size.

=cut

.sub 'setvbuf' :method
.sub 'setvbuf' :method :nsentry
.param pmc mode :optional
.param pmc size :optional
.param pmc extra :slurpy
Expand Down Expand Up @@ -317,7 +317,7 @@ or C<string.format> before write.

=cut

.sub 'write' :method
.sub 'write' :method :nsentry
.param pmc argv :slurpy
.local pmc res
.local int argc
Expand Down Expand Up @@ -346,7 +346,7 @@ or C<string.format> before write.
.end


.sub '__gc' :method
.sub '__gc' :method :nsentry
.local pmc f
f = tofilep(self)
# ignore closed files
Expand All @@ -357,7 +357,7 @@ or C<string.format> before write.
.end


.sub '__tostring' :method
.sub '__tostring' :method :nsentry
.local pmc f
.local pmc res
f = tofilep(self)
Expand Down

0 comments on commit f17b2b7

Please sign in to comment.