1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-04 01:23:04 +00:00

Switch over to Cmake fully.

This commit is contained in:
bakpakin
2018-01-29 15:46:26 -05:00
parent b305a7c9bb
commit ce5708af98
23 changed files with 196 additions and 301 deletions

View File

@@ -25,7 +25,7 @@
#include "gc.h"
/* Look up table for instructions */
DstInstructionType dst_instructions[DOP_INSTRUCTION_COUNT] = {
enum DstInstructionType dst_instructions[DOP_INSTRUCTION_COUNT] = {
DIT_0, /* DOP_NOOP, */
DIT_S, /* DOP_ERROR, */
DIT_ST, /* DOP_TYPECHECK, */
@@ -106,7 +106,7 @@ int32_t dst_verify(DstFuncDef *def) {
if ((instr & 0xFF) >= DOP_INSTRUCTION_COUNT) {
return 3;
}
DstInstructionType type = dst_instructions[instr & 0xFF];
enum DstInstructionType type = dst_instructions[instr & 0xFF];
switch (type) {
case DIT_0:
continue;