[BUGFIX] Correct parsing of argument doktypes

Fixes #228
Merge pull request #230 from bjo3rnf/doktypefix

[BUGFIX] Correct parsing of argument doktypes