Skip to content

Commit

Permalink
Ununderscore colonpair_variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 10, 2023
1 parent 5a8402f commit c7ecdd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Raku/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ class Raku::Actions is HLL::Actions does Raku::CommonActions {
self.attach: $/, $<circumfix> ?? $<circumfix>.ast !! self.Nil
}

method colonpair_variable($/) {
method colonpair-variable($/) {
if $<capvar> {
self.attach: $/, self.r('Var', 'NamedCapture').new:
self.r('QuotedString').new:
Expand Down
4 changes: 2 additions & 2 deletions src/Raku/Grammar.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ grammar Raku::Grammar is HLL::Grammar does Raku::Common {
| :dba('signature') '(' ~ ')' <fakesignature>
| <coloncircumfix('')>
{ $*key := ""; }
| <var=.colonpair_variable>
| <var=.colonpair-variable>
{ $*key := $<var><desigilname>.Str; self.check-variable($<var>); }
]
}
Expand Down Expand Up @@ -1981,7 +1981,7 @@ grammar Raku::Grammar is HLL::Grammar does Raku::Common {
]
}
token colonpair_variable {
token colonpair-variable {
<sigil> {}
[
| <twigil>? <desigilname>
Expand Down

0 comments on commit c7ecdd8

Please sign in to comment.