adam-mcdaniel / oakc

A portable programming language with a compact intermediate representation
Apache License 2.0
725 stars 21 forks source link

Fixed `-o` flag not working for doc subcmd, and markdown changes #67

Closed adam-mcdaniel closed 4 years ago

adam-mcdaniel commented 4 years ago

This addresses issue #66. The -o flag was not working for the doc sub-command because the -o flag was being looked for in the arguments to the program, not the arguments to the doc sub-command. This was a one line fix. Additionally, this PR fixes the error where a function with no arguments was documented like so: fn function_name) -> result_type.