diff options
author | Araq <rumpf_a@web.de> | 2017-05-31 14:35:53 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-05-31 14:35:53 +0200 |
commit | 7b3785554fc60b974836062e6dea570999eaef77 (patch) | |
tree | 01de5fbcfa609527935c7fdb08b6b546c189c14a /compiler/vm.nim | |
parent | 3c129b7fe5599faabcd6bd784037a0b55406f63c (diff) | |
parent | 6652ae97414f6806fde57ef252e548795f469262 (diff) | |
download | Nim-7b3785554fc60b974836062e6dea570999eaef77.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r-- | compiler/vm.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim index e201e98dc..bc5873ff5 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -1406,6 +1406,8 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg = if dest.kind in {nkStrLit..nkTripleStrLit} and regs[rb].kind in {rkNode}: dest.strVal = regs[rb].node.strVal + elif dest.kind == nkCommentStmt: + dest.comment = regs[rb].node.strVal else: stackTrace(c, tos, pc, errFieldXNotFound, "strVal") of opcNNewNimNode: |