Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created July 29, 2011 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/1113985 to your computer and use it in GitHub Desktop.
Save tadzik/1113985 to your computer and use it in GitHub Desktop.
┌─[tadzik@yavin4]─[~/src/nom] (podparser)
└─[%]─> cat abug.pl
#= should
class Foo {
}
#= shouldn't
say Foo.WHY
┌─[tadzik@yavin4]─[~/src/nom] (podparser)
└─[%]─> ./perl6 abug.pl
DECLARATOR was becomes should
DECLARATOR was should becomes should
DECLARATOR was should becomes shouldn't
DECLARATOR was shouldn't becomes shouldn't
Setting docs for Perl6::Metamodel::ClassHOW()
shouldn't
@tadzik
Copy link
Author

tadzik commented Jul 29, 2011

142 token comment:sym<#=> {
143 '#=' \h+ $=[\N_]
144 {
145 say("DECLARATOR was ", $_DECLARATOR,
146 " becomes ", ~$);
147 $*DECLARATOR := ~$
148 }
149 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment