PL not reporting unbalanced opening ( gracefully

Description

Details:

Here is what I found. It evidently is only when the unbalanced () is an opening ( that PL goes into a tizzy.
Just as Tir reported, here are the error messages generated if the it is an opening (
max((CHA,0) at C:\Perl\my_prettylst.pl line 10052
main:arse_jep_rec('max((CHA,0)', 'BONUS:CHECKS|ALL|max((CHA,0)|TYPE=CLASS', './notfordistribution/paradigmconcepts/playersguidetoarcanis/p...', 7, 0) called at C:\Perl\my_prettylst.pl line 9991
main:arse_jep('max((CHA,0)', 'BONUS:CHECKS|ALL|max((CHA,0)|TYPE=CLASS', './notfordistribution/paradigmconcepts/playersguidetoarcanis/p...', 7) called at C:\Perl\my_prettylst.pl line 7051
main::validate_tag('BONUS:CHECKS', '|ALL|max((CHA,0)|TYPE=CLASS', 'ABILITY', './notfordistribution/paradigmconcepts/playersguidetoarcanis/p...', 7) called at C:\Perl\my_prettylst.pl line 6875
main:arse_tag('BONUS:CHECKS|ALL|max((CHA,0)|TYPE=CLASS', 'ABILITY', './notfordistribution/paradigmconcepts/playersguidetoarcanis/p...', 7) called at C:\Perl\my_prettylst.pl line 5626
main::FILETYPE_parse('ABILITY', 'ARRAY(0x1ddebbc)', './notfordistribution/paradigmconcepts/playersguidetoarcanis/p...') called at C:\Perl\my_prettylst.pl line 4942 .\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Unbalance () in "((CHA,0)" found in "BONUS:CHECKS|ALL|max((CHA,0)|TYPE=CLASS"

And here is what we get if it is a closing ( or unbalanced [] or {}.
.\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Jep syntax error found near unknown function ")" in "BONUS:CHECKS|ALL|max(CHA,0))|TYPE=CLASS"
.\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Jep syntax error found near unknown function "]" in "BONUS:CHECKS|ALL|max(CHA,0)]|TYPE=CLASS"
.\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Jep syntax error found near unknown function "[(CHA,0)" in "BONUS:CHECKS|ALL|max[(CHA,0)|TYPE=CLASS"
.\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Jep syntax error found near unknown function "{(CHA,0)" in "BONUS:CHECKS|ALL|max{(CHA,0)|TYPE=CLASS"
.\notfordistribution\paradigmconcepts\playersguidetoarcanis\playersguidetoarcanis_abilities_class_base.lst
(Line 7): Jep syntax error found near unknown function "}" in "BONUS:CHECKS|ALL|max(CHA,0)}|TYPE=CLASS"

Also, note that only an opening ( is correctly (eventually) trapped as an unbalanced (). The others are trapped as an unknown function. The last ditch trap for anything that is not recognized anywhere else. IT appears that the PL code for unbalanced brackets needs some attention.

I will look for a way to resolve this. In the meantime, any suggestions would be very welcome.

Phil
Submitted:

Phillip Ryan ( historyphil ) - 2008-07-13 09:20:06 EDT

Environment

None

Assignee

Unassigned

Reporter

User Submissions

Labels

None

Epic/Theme

None

Pending User Input

None

Priority

Minor
Configure