Permalink
Browse files

fix the following error:

    too many named arguments: 1 passed, 0 used
  • Loading branch information...
1 parent f502a5c commit 02251a6d774ea98bcda09c24cc01db3335b9c085 @fperrad committed Jan 6, 2011
Showing with 8 additions and 1 deletion.
  1. +1 −1 lua/grammar51.pir
  2. +7 −0 lua/lib/luaregex.pir
View
@@ -158,7 +158,7 @@ by prefixing them with C<0x>. Examples of valid numerical constants are
.sub 'number'
.param pmc mob
- .param pmc params :slurpy
+ .param pmc adverbs :slurpy :named
mob = read_numeral(mob)
unless mob goto L1
View
@@ -344,6 +344,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_literal'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos, lastpos
.local int litstart, litlen
@@ -392,6 +393,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_quantifier'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int min, max, backtrack
.local int pos, lastpos
@@ -421,6 +423,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_enumclass'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos, lastpos
.local int isrange
@@ -495,6 +498,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_enumclass2'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos
.local string charlist
@@ -519,6 +523,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_balanced'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos, lastpos
.local string xy
@@ -538,6 +543,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_backref'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos
.local string cname
@@ -558,6 +564,7 @@ Mostly taken from F<compilers/pge/PGE/P5Regex.pir>.
.sub 'parse_anchor'
.param pmc mob
+ .param pmc adverbs :slurpy :named
.local string target
.local int pos, lastpos
.local string key

0 comments on commit 02251a6

Please sign in to comment.