瀏覽代碼

Export prim_parseFrom to meta language.

master
Ian Piumarta 2 年之前
父節點
當前提交
720c2c141d
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      src/ccmeta.leg

+ 2
- 1
src/ccmeta.leg 查看文件

@ -3,7 +3,7 @@
# Copyright (c) 2016-2021 Ian Piumarta and other contributors (see AUTHORS)
# All rights reserved (see LICENSE)
#
# Last edited: 2023-03-22 18:11:54 by piumarta on zora-10.local
# Last edited: 2023-03-22 18:14:50 by piumarta on zora-10.local
%{
/* compile: leg -o ccmeta.c ccmeta.leg
@ -4813,6 +4813,7 @@ void init(void)
map_set(globals, intern("microseconds"), makeFunction(prim_microseconds, intern("microseconds"), null, null, globals, null));
map_set(globals, intern("string" ), makeFunction(prim_String, intern("string" ), null, null, globals, null));
map_set(globals, intern("scope" ), makeFunction(prim_scope, intern("scope" ), null, null, globals, null));
map_set(globals, intern("parseFrom" ), makeFunction(prim_parseFrom, intern("parseFrom" ), null, null, globals, null));
#define _DO(NAME) NAME##_symbol=intern(#NAME);
DO_SYMBOLS()

Loading…
取消
儲存