Add ability for rst parser to continue on errors

This commit is contained in:
Joey Yakimowich-Payne 2020-05-08 18:48:44 -06:00
commit 926ae2ec64
5 changed files with 58 additions and 11 deletions

View file

@ -437,6 +437,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
conf.docSeeSrcUrl = arg
of "docroot":
conf.docRoot = if arg.len == 0: "@default" else: arg
of "docignoreparseerrors":
conf.docIgnoreParseErrors = true
of "mainmodule", "m":
discard "allow for backwards compatibility, but don't do anything"
of "define", "d":