HomePhorge

(maint) Output extra info for debugging parser and cleanup
3bd857d94a6bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Output extra info for debugging parser and cleanup

This adds output of the token number when an error occurs (it otherwise
only outputs the text representation, and there are several tokens where
the text is the same). This only matters when debugging a grammar and
this behavior is used when @yydebug manually has been set to true.

This commit also cleans up dead comments and removes unused code.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
Andrew Parker <andy@puppetlabs.com>Committed on Aug 1 2014, 8:35 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb4c0175a498b: (maint) Remove stale comments about hyphens in name patterns.
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU3bd857d94a6b: (maint) Output extra info for debugging parser and cleanup (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Aug 1 2014, 8:35 PM