Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prefer bare sigils over special vars in decls
  • Loading branch information
TimToady committed Jun 5, 2014
1 parent 77c9884 commit 0f2049c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions STD.pm6
Expand Up @@ -2256,12 +2256,12 @@ grammar P6 is STD {
}

token special_variable:sym<$-> {
<sym>
<sym> <!{ $*IN_DECL }>
<.obs('$- variable', 'Form module')>
}

token special_variable:sym<$=> {
<sym> <!before \w | '('>
<sym> <!before \w | '('> <!{ $*IN_DECL }>
<.obs('$= variable', 'Form module')>
}

Expand Down Expand Up @@ -2316,7 +2316,7 @@ grammar P6 is STD {
}

token special_variable:sym<$+> {
<sym> :: <?before \s | ',' | <terminator> >
<sym> :: <?before \s | ',' | <terminator> > <!{ $*IN_DECL }>
<.obs('$+ variable', 'Form module')>
}

Expand Down Expand Up @@ -2404,7 +2404,7 @@ grammar P6 is STD {
}

token special_variable:sym<$\\> {
<sym>
<sym> <!{ $*IN_DECL }>
<.obs('$\\ variable', "the filehandle's :ors attribute")>
}

Expand All @@ -2419,7 +2419,7 @@ grammar P6 is STD {
}

token special_variable:sym<$;> {
<sym>
<sym> <!{ $*IN_DECL }>
<.obs('$; variable', 'real multidimensional hashes')>
}

Expand Down

0 comments on commit 0f2049c

Please sign in to comment.