PMunch / binaryparse

Binary parser for Nim
MIT License
71 stars 6 forks source link

Fixed bug regarding extra parameters in write proc #11

Closed sealmove closed 3 years ago

sealmove commented 3 years ago

The bug was fixed with a simple node duplication (using copyNimTree).

Also I removed default value of parent parameter in replace proc because now it's used for replacing symbols in both read (which has result as parent) and write proc (which has input as parent).