summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser.mly
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-05 13:12:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-05 13:12:04 +0000
commit24b0e8d64df95dd066d33b622c07f469e47c102a (patch)
tree2415cfeac7e6532108ba88a4db01652abe550f18 /perl_checker.src/parser.mly
parent2a83a79c244e034ebbb76fc8fe875517377790d0 (diff)
downloadperl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar
perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.gz
perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.bz2
perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.tar.xz
perl-MDK-Common-24b0e8d64df95dd066d33b622c07f469e47c102a.zip
allow -x with no parameter, but advise not to use it
Diffstat (limited to 'perl_checker.src/parser.mly')
-rw-r--r--perl_checker.src/parser.mly1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/parser.mly b/perl_checker.src/parser.mly
index 47aebfe..080295c 100644
--- a/perl_checker.src/parser.mly
+++ b/perl_checker.src/parser.mly
@@ -257,6 +257,7 @@ term:
| ONE_SCALAR_PARA restricted_subscripted {call_one_scalar_para $1 [fst $2], sp_pos_range $1 $2}
| ONE_SCALAR_PARA parenthesized {call_one_scalar_para $1 (sndfst $2), sp_pos_range $1 $2}
| ONE_SCALAR_PARA word_paren parenthesized {call_one_scalar_para $1 [call(Deref(I_func, fst $2), sndfst $3)], sp_pos_range $1 $3}
+| ONE_SCALAR_PARA {call_one_scalar_para $1 [], snd $1}
/* Constructors for anonymous data */