summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runsystem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runsystem.cc')
-rw-r--r--Build/source/utils/asymptote/runsystem.cc45
1 files changed, 24 insertions, 21 deletions
diff --git a/Build/source/utils/asymptote/runsystem.cc b/Build/source/utils/asymptote/runsystem.cc
index b1924985222..f1c4ad3b2be 100644
--- a/Build/source/utils/asymptote/runsystem.cc
+++ b/Build/source/utils/asymptote/runsystem.cc
@@ -27,6 +27,7 @@
#include "array.h"
#include "triple.h"
#include "callable.h"
+#include "opsymbols.h"
using vm::stack;
using vm::error;
@@ -203,6 +204,8 @@ void exitFunction(stack *Stack)
// Autogenerated routines:
+#include "runsystem.symbols.h"
+
namespace run {
#line 109 "runsystem.in"
// string outname();
@@ -448,47 +451,47 @@ namespace trans {
void gen_runsystem_venv(venv &ve)
{
#line 109 "runsystem.in"
- addFunc(ve, run::gen_runsystem0, primString() , "outname");
+ addFunc(ve, run::gen_runsystem0, primString() , SYM(outname));
#line 114 "runsystem.in"
- addFunc(ve, run::gen_runsystem1, primVoid(), "atupdate", formal(voidFunction(), "f", false, false));
+ addFunc(ve, run::gen_runsystem1, primVoid(), SYM(atupdate), formal(voidFunction(), SYM(f), false, false));
#line 119 "runsystem.in"
- addFunc(ve, run::gen_runsystem2, voidFunction(), "atupdate");
+ addFunc(ve, run::gen_runsystem2, voidFunction(), SYM(atupdate));
#line 124 "runsystem.in"
- addFunc(ve, run::gen_runsystem3, primVoid(), "atexit", formal(voidFunction(), "f", false, false));
+ addFunc(ve, run::gen_runsystem3, primVoid(), SYM(atexit), formal(voidFunction(), SYM(f), false, false));
#line 129 "runsystem.in"
- addFunc(ve, run::gen_runsystem4, voidFunction(), "atexit");
+ addFunc(ve, run::gen_runsystem4, voidFunction(), SYM(atexit));
#line 134 "runsystem.in"
- addFunc(ve, run::gen_runsystem5, primVoid(), "atbreakpoint", formal(breakpointFunction(), "f", false, false));
+ addFunc(ve, run::gen_runsystem5, primVoid(), SYM(atbreakpoint), formal(breakpointFunction(), SYM(f), false, false));
#line 139 "runsystem.in"
- addFunc(ve, run::gen_runsystem6, primVoid(), "breakpoint", formal(primCode(), "s", true, false));
+ addFunc(ve, run::gen_runsystem6, primVoid(), SYM(breakpoint), formal(primCode(), SYM(s), true, false));
#line 144 "runsystem.in"
- addFunc(ve, run::gen_runsystem7, primString() , "locatefile", formal(primString() , "file", false, false));
+ addFunc(ve, run::gen_runsystem7, primString() , SYM(locatefile), formal(primString() , SYM(file), false, false));
#line 149 "runsystem.in"
- addFunc(ve, run::gen_runsystem8, primVoid(), "stop", formal(primString() , "file", false, false), formal(primInt(), "line", false, false), formal(primCode(), "s", true, false));
+ addFunc(ve, run::gen_runsystem8, primVoid(), SYM(stop), formal(primString() , SYM(file), false, false), formal(primInt(), SYM(line), false, false), formal(primCode(), SYM(s), true, false));
#line 157 "runsystem.in"
- addFunc(ve, run::gen_runsystem9, primVoid(), "breakpoints");
+ addFunc(ve, run::gen_runsystem9, primVoid(), SYM(breakpoints));
#line 163 "runsystem.in"
- addFunc(ve, run::gen_runsystem10, primVoid(), "clear", formal(primString() , "file", false, false), formal(primInt(), "line", false, false));
+ addFunc(ve, run::gen_runsystem10, primVoid(), SYM(clear), formal(primString() , SYM(file), false, false), formal(primInt(), SYM(line), false, false));
#line 169 "runsystem.in"
- addFunc(ve, run::gen_runsystem11, primVoid(), "clear");
+ addFunc(ve, run::gen_runsystem11, primVoid(), SYM(clear));
#line 174 "runsystem.in"
- addFunc(ve, run::gen_runsystem12, primVoid(), "warn", formal(primString() , "s", false, false));
+ addFunc(ve, run::gen_runsystem12, primVoid(), SYM(warn), formal(primString() , SYM(s), false, false));
#line 179 "runsystem.in"
- addFunc(ve, run::gen_runsystem13, primVoid(), "nowarn", formal(primString() , "s", false, false));
+ addFunc(ve, run::gen_runsystem13, primVoid(), SYM(nowarn), formal(primString() , SYM(s), false, false));
#line 184 "runsystem.in"
- addFunc(ve, run::gen_runsystem14, primVoid(), "warning", formal(primString() , "s", false, false), formal(primString() , "t", false, false), formal(primBoolean(), "position", true, false));
+ addFunc(ve, run::gen_runsystem14, primVoid(), SYM(warning), formal(primString() , SYM(s), false, false), formal(primString() , SYM(t), false, false), formal(primBoolean(), SYM(position), true, false));
#line 192 "runsystem.in"
- addFunc(ve, run::gen_runsystem15, primString() , "stripdirectory", formal(primString(), "s", false, false));
+ addFunc(ve, run::gen_runsystem15, primString() , SYM(stripdirectory), formal(primString(), SYM(s), false, false));
#line 198 "runsystem.in"
- addFunc(ve, run::gen_runsystem16, primString() , "stripfile", formal(primString(), "s", false, false));
+ addFunc(ve, run::gen_runsystem16, primString() , SYM(stripfile), formal(primString(), SYM(s), false, false));
#line 204 "runsystem.in"
- addFunc(ve, run::gen_runsystem17, primString() , "stripextension", formal(primString(), "s", false, false));
+ addFunc(ve, run::gen_runsystem17, primString() , SYM(stripextension), formal(primString(), SYM(s), false, false));
#line 210 "runsystem.in"
- addFunc(ve, run::gen_runsystem18, primInt(), "convert", formal(primString() , "args", true, false), formal(primString() , "file", true, false), formal(primString() , "format", true, false));
+ addFunc(ve, run::gen_runsystem18, primInt(), SYM(convert), formal(primString() , SYM(args), true, false), formal(primString() , SYM(file), true, false), formal(primString() , SYM(format), true, false));
#line 238 "runsystem.in"
- addFunc(ve, run::gen_runsystem19, primInt(), "animate", formal(primString() , "args", true, false), formal(primString() , "file", true, false), formal(primString() , "format", true, false));
+ addFunc(ve, run::gen_runsystem19, primInt(), SYM(animate), formal(primString() , SYM(args), true, false), formal(primString() , SYM(file), true, false), formal(primString() , SYM(format), true, false));
#line 255 "runsystem.in"
- addFunc(ve, run::gen_runsystem20, primVoid(), "purge", formal(primInt(), "divisor", true, false));
+ addFunc(ve, run::gen_runsystem20, primVoid(), SYM(purge), formal(primInt(), SYM(divisor), true, false));
}
} // namespace trans