ソースを参照

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

master
Ian Piumarta 2年前
コミット
d9f06de063
1個のファイルの変更4行の追加1行の削除
  1. +4
    -1
      src/ccmeta.leg

+ 4
- 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: 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);

読み込み中…
キャンセル
保存