fixes #21
This commit is contained in:
parent
5b789f2da8
commit
62eb5b124e
3 changed files with 9 additions and 9 deletions
|
|
@ -48,6 +48,7 @@ proc extractSpec(filename: string): string =
|
|||
result = x.copy(a+3, b-1).replace("'''", tripleQuote)
|
||||
else:
|
||||
echo "warning: file does not contain spec: " & filename
|
||||
result = ""
|
||||
|
||||
template parseSpecAux(fillResult: stmt) =
|
||||
var ss = newStringStream(extractSpec(filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue