all repos — min @ ab7c0cfe1b3a108bebaaef75864145c92f974c89

A small but practical concatenative programming language.

Minor changes.
h3rald h3rald@h3rald.com
Sat, 04 Mar 2017 22:07:08 +0100
commit

ab7c0cfe1b3a108bebaaef75864145c92f974c89

parent

e0a9a46704fccfc34c1927a0e4af6ea421596ba4

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M core/interpreter.nimcore/interpreter.nim

@@ -75,9 +75,9 @@ return "$1($2,$3) [$4]: $5" % [sym.filename, $sym.line, $sym.column, sym.symVal, message]

proc formatTrace(sym: MinValue): string = if sym.filename.isNil or sym.filename == "": - return " <native> in symbol: $1" % [sym.symVal] + return "<native> in symbol: $1" % [sym.symVal] else: - return " $1($2,$3) in symbol: $4" % [sym.filename, $sym.line, $sym.column, sym.symVal] + return "$1($2,$3) in symbol: $4" % [sym.filename, $sym.line, $sym.column, sym.symVal] proc stackTrace(i: In) = var trace = i.trace