* compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
This commit is contained in:
parent
a8b3e7c059
commit
cf0cf32d27
21 changed files with 286 additions and 199 deletions
|
|
@ -2472,9 +2472,6 @@ when defined(js) or defined(nimscript):
|
|||
proc addInt*(result: var string; x: int64) =
|
||||
result.add $x
|
||||
|
||||
proc addFloat*(result: var string; x: float) =
|
||||
result.add $x
|
||||
|
||||
proc quit*(errormsg: string, errorcode = QuitFailure) {.noreturn.} =
|
||||
## A shorthand for `echo(errormsg); quit(errorcode)`.
|
||||
when defined(nimscript) or defined(js) or (hostOS == "standalone"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue