diff options
author | Zahary Karadjov <zahary@gmail.com> | 2014-03-16 18:34:37 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2014-03-16 20:42:49 +0200 |
commit | 49b0440c47b1f22bf2b84083b0c2b79fb60fdfd5 (patch) | |
tree | cc3e9612054ebcad226d0f7bffc3237d62d30005 /tests/stdlib | |
parent | f0953db3ba59f2e23df2fb7932c672f5020db5fb (diff) | |
download | Nim-49b0440c47b1f22bf2b84083b0c2b79fb60fdfd5.tar.gz |
make some tests green
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/tpegs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdlib/tpegs.nim b/tests/stdlib/tpegs.nim index 7775091a1..6e488bab4 100644 --- a/tests/stdlib/tpegs.nim +++ b/tests/stdlib/tpegs.nim @@ -72,7 +72,7 @@ type rule: TNode ## the rule that the symbol refers to TNode {.final, shallow.} = object case kind: TPegKind - of pkEmpty..pkWhitespace: discard + of pkEmpty..pkWhitespace: nil of pkTerminal, pkTerminalIgnoreCase, pkTerminalIgnoreStyle: term: string of pkChar, pkGreedyRepChar: ch: char of pkCharChoice, pkGreedyRepSet: charChoice: ref set[char] |