tlrobinson / narwhal

[DEPRECATED] A JavaScript standard library, package manager, and more.
http://narwhaljs.org/
372 stars 16 forks source link

(pull-request) Multiple parser actions cause infinite loop #101

Closed abhinav closed 14 years ago

abhinav commented 14 years ago

Adding more than one action to an args.Parser causes an infinite loop when parsing the arguments.

Fix and tests: http://github.com/abhinav/narwhal/commit/adbb52b6f9102f0bbe2a621de81d5930cb2b9b91