Please sign in to comment.
Fix trailing whitespace in standalone parsers
Previously kpeg would insert trailing whitespace into standalone parsers. This was due to a regular expression that did not trim leading space when replacing `include Position` with the standalone functionality. Now the entire line is replaced instead of just the include which fixes the whitespace problem.
- Loading branch information...
Showing with 1 addition and 3 deletions.