headerparse: fix for comments after decl

This commit is contained in:
hellerve 2019-05-29 18:41:17 +02:00
parent e575a6aed6
commit f823618002

View File

@ -102,7 +102,7 @@ parseHeaderFile path src prefix kebab =
argList
Parsec.many spaceOrTab
Parsec.char ';'
Parsec.many spaceOrTab
Parsec.many (Parsec.noneOf "\n")
let tyXObj = toFnTypeXObj argTypeStrings (returnTypeString, length stars1 + length stars2)
return (createRegisterForm name tyXObj prefix kebab)