Commit 6f28006
committed
ISSUE-2: VMEmulator built-in classes not useable from command line
The use of built-in classes is now controlled by the environment
variable N2T_VM_USE_BUILTINS.
If set to "yes" (case insesitive), the built-in classes will be
used without prompting.
If set to "no", the built-in classes won't be used (again, no
prompting).
In any other case, we'll fallback to the previous behaviour. That
is, prompt for GUI and reject for CLI.1 parent 73e5bec commit 6f28006
File tree
2 files changed
+8
-10
lines changed- SimulatorsPackage/src/main/java/Hack/VMEmulator
2 files changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
566 | 565 | | |
567 | 566 | | |
568 | 567 | | |
| |||
0 commit comments