diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-24 14:09:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-24 14:09:20 +0000 |
commit | acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5 (patch) | |
tree | 4f41bad7a022d0c3c4087b92b3ce72f44c3092a9 /perl_checker.src | |
parent | f697b612a04b17812cceae176f7f7ef39774a20f (diff) | |
download | perl-MDK-Common-acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5.tar perl-MDK-Common-acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5.tar.gz perl-MDK-Common-acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5.tar.bz2 perl-MDK-Common-acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5.tar.xz perl-MDK-Common-acd3b8e3cbd3c98f4f1e7d69bc73da9931cc45a5.zip |
allow "use foo()"
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/parser.mly | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/parser.mly b/perl_checker.src/parser.mly index 29cd4d6..d499285 100644 --- a/perl_checker.src/parser.mly +++ b/perl_checker.src/parser.mly @@ -165,6 +165,7 @@ decl: use: | use_word listexpr semi_colon {sp_n($2); Use(fst $1, sndfst $2), sp_pos_range $1 $3} +| use_revision RAW_IDENT_PAREN PAREN PAREN_END {Use(to_Ident $2, []), sp_pos_range $1 $2} use_word: | use_revision word comma {fst $2, sp_pos_range $1 $3} |