forked from zaach/jison
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working on issue zaach#348: reconstructed the 'empty action call' det…
…ection logic so that the Jison code itself delivers an 'empty call' to compare against. The bug in zaach#348 is most probably due to the replacements of comment start/end markers in `preprocessActionCode()` and `postprocessActionCode()` while the original comparison happens between these calls, screwing up the detection, which drives the code stripper which removes the `this.performAction.call` code. Still ho-hum, though, as I don't see this happen... Anyway, this bit of rework is necessary anyway as now we're better equipped to keep detecting empty performAction functions.
- Loading branch information
1 parent
6b8e4b8
commit 1cce8b7
Showing
1 changed file
with
38 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters