Explorar el Código

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

master
Ian Piumarta hace 2 años
padre
commit
d9f06de063
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      src/ccmeta.leg

+ 4
- 1
src/ccmeta.leg Ver fichero

@ -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);

Cargando…
Cancelar
Guardar