goccy / p5-Compiler-Lexer

Lexical Analyzer for Perl5
Other
46 stars 17 forks source link

Lexer struggles #62

Open McA opened 9 years ago

McA commented 9 years ago

The folowing code let the lexer struggle:

package mypackage;

sub get_average {
        my ($sum, $count) = @_;
        return($sum / $count);
}

sub get_ascii_art {
        my $polizist = q@
          ,
 __  _.-"` `'-.
/||\'._ __{}_(
||||  |'--.__\
|  L.(   ^_\^
\ .-' |   _ |
| |   )\___/
|  \-'`:._]
\__/;      '-.
@;  #"

}
1;
moznion commented 9 years ago

:weary:

goccy commented 9 years ago

Oh... I'll try to fix !