mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
change __instruction_table to .cfg
This commit is contained in:
parent
4428763042
commit
fcbf903223
@ -28,6 +28,7 @@
|
||||
/* micro pika configuration */
|
||||
#include "./pikaConfigValid.h"
|
||||
|
||||
#define __VM_DEBUG__
|
||||
#ifndef __PIKA_PALTFORM__H
|
||||
#define __PIKA_PALTFORM__H
|
||||
#include <stdarg.h>
|
||||
|
@ -60,7 +60,7 @@ static int32_t getLineSize(char* str) {
|
||||
enum Instruct {
|
||||
|
||||
#define __INS_ENUM
|
||||
#include "__instruction_table.h"
|
||||
#include "__instruction_table.cfg"
|
||||
|
||||
__INSTRCUTION_CNT,
|
||||
};
|
||||
@ -492,13 +492,13 @@ static Arg* VM_instruction_handler_CTN(PikaObj* self,
|
||||
}
|
||||
#else
|
||||
# define __INS_IMPL
|
||||
# include "__instruction_table.h"
|
||||
# include "__instruction_table.cfg"
|
||||
#endif
|
||||
|
||||
const VM_instruct_handler VM_instruct_handler_table[__INSTRCUTION_CNT] = {
|
||||
|
||||
#define __INS_TABLE
|
||||
#include "__instruction_table.h"
|
||||
#include "__instruction_table.cfg"
|
||||
};
|
||||
|
||||
static char* strs_getLine(Args* buffs, char* code) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user