From: ceriel Date: Mon, 12 Feb 1990 15:15:21 +0000 (+0000) Subject: is_rom is boolean, not integer X-Git-Tag: release-5-5~1823 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7c4af80c0fc894f6c39ebb9a24c757cedde7e75d;p=ack.git is_rom is boolean, not integer --- diff --git a/util/ncgg/cgg.y b/util/ncgg/cgg.y index ab122e9f1..4b49b6d73 100644 --- a/util/ncgg/cgg.y +++ b/util/ncgg/cgg.y @@ -1016,7 +1016,7 @@ expr | ROM '(' emarg ',' NUMBER ')' { $$ = make_expr(TYPINT,EX_ROM,$3-1,chkincl($5,1,3)-1); } | ISROM '(' emarg ')' - { $$ = make_expr(TYPINT,EX_ISROM,$3-1,0); } + { $$ = make_expr(TYPBOOL,EX_ISROM,$3-1,0); } | LOWW '(' emarg ')' { $$ = make_expr(TYPINT,EX_LOWW,$3-1,0); } | HIGHW '(' emarg ')'