Procházet zdrojové kódy

Eval handles Undefined and Function in switch to avoid compiler warning.

master
Ian Piumarta před 2 roky
rodič
revize
d9f06de063
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      src/ccmeta.leg

+ 4
- 1
src/ccmeta.leg Zobrazit soubor

@ -3,7 +3,7 @@
# Copyright (c) 2016-2021 Ian Piumarta and other contributors (see AUTHORS)
# All rights reserved (see LICENSE)
#
# Last edited: 2022-09-30 16:23:05 by piumarta on zora-10.local
# Last edited: 2023-03-22 16:11:40 by piumarta on zora-10.local
%{
/* compile: leg -o ccmeta.c ccmeta.leg
@ -3357,6 +3357,9 @@ oop eval(oop scope, oop ast)
DO_C_PROTOS();
break;
#undef _DO
case t_Undefined:
case t_Function:
break;
}
printf("EVAL ");
println(ast);

Načítá se…
Zrušit
Uložit