summary refs log tree commit diff stats
path: root/lib/system/sysstr.nim
diff options
context:
space:
mode:
authorVindaar <basti90@gmail.com>2022-12-08 10:59:13 +0100
committerGitHub <noreply@github.com>2022-12-08 10:59:13 +0100
commit0a1d4ba8427854306b89f4e91ed7902fb23adafb (patch)
treefe295a3e818c7dda3b60cf5d0f08a1cdd8a24fc5 /lib/system/sysstr.nim
parente669835665bd3b9ab600d1ce3502f4b643606175 (diff)
downloadNim-0a1d4ba8427854306b89f4e91ed7902fb23adafb.tar.gz
fix issue #20922 by handling missing expr in `exprList` for `tkOf` (#20930)
* fix issue #20922 by handling missing expr in `exprList` for `tkOf`

* fix line numbers in test case

* rewrite exprList requiring expr, add optionalExprList for except

As suggested by @metagn.

* update test case to reflect new code

* update grammar.txt

* update line numbers in test case taking into account nimout

Given the number of errors that are produced it seems easier to do it
this way instead of using `tt.Error`.
Diffstat (limited to 'lib/system/sysstr.nim')
0 files changed, 0 insertions, 0 deletions