in reply to Re: Parse::RecDescent and AUTOSTUB
in thread Parse::RecDescent and AUTOSTUB
Cause ye gets an error! Arr!my $grammar = q { startrule: test test: "primary"(?) "key" };
RD_TRACE told me:ERROR (line 4): Untranslatable item encountered: "?" (Hint: Did you misspell "?" or forget to comment it ou +t?)
Arr.Parse::RecDescent: Treating "startrule:" as a rule declaration Parse::RecDescent: Treating "test" as a subrule match Parse::RecDescent: Treating "test:" as a rule declaration Parse::RecDescent: Treating ""primary"" as an interpolated literal terminal Parse::RecDescent: Treating "( ? )" as an implicit subrule Parse::RecDescent: Treating "_alternation_1_of_production_1_of_rul +e_test :" as a rule declaration ERROR (line 4): Untranslatable item encountered: "?" (Hint: Did you misspell "?" or forget to comment it ou +t?) Parse::RecDescent: Treating "_alternation_1_of_production_1_of_rul +e_test" as a subrule match Parse::RecDescent: Treating ""key"" as an interpolated literal ter +minal
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parse::RecDescent and AUTOSTUB
by Abigail-II (Bishop) on Jan 29, 2004 at 23:24 UTC | |
by hagus (Monk) on Jan 29, 2004 at 23:57 UTC |