Opened 9 years ago
Closed 6 years ago
#311 closed enhancement (fixed)
catch errors and warnings given by ppi
Reported by: | szabgab | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | editor | Version: | 0.35 |
Keywords: | Cc: |
Description
Recently I got this on the console:
Illegal parse state in 'foreach' type compound statement at /home/gabor/perl5lib/lib/PPI/Lexer.pm line 810.
It is indeed a warn() call in PPI but as I can see there are also die() calls and warn() calls.
We should wrap the whole ppi processor to catch all these warnings and errors, save the file that was parsed in a separate file and report the error so we can build test cases for PPI with those files
or code snippets.
Change History (1)
comment:1 Changed 6 years ago by bowtie
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.