Переглянути джерело

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()

Завантаження…
Відмінити
Зберегти