Skip to content

Commit

Permalink
0.8.9: fix parse error for shashlick
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Jul 6, 2020
1 parent dd618e9 commit bed5619
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nimph.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.8.8"
version = "0.8.9"
author = "disruptek"
description = "nim package handler from the future"
license = "MIT"
Expand Down
5 changes: 4 additions & 1 deletion src/nimph/config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,11 @@ proc parseProjectCfg*(input: Target): ProjectCfgParsed =
result.why = &"config file {input} doesn't exist"
break success

let
var
content = readFile($input)
if not content.endsWith("\n"):
content &= "\n"
let
peggy = peg "document":
nl <- ?'\r' * '\n'
white <- {'\t', ' '}
Expand Down

0 comments on commit bed5619

Please sign in to comment.