stack-checker.dependencies: extend c-type-word method for depends-on-c-type to all words (so it works for non-c-types like void)
parent
d8432db495
commit
c4cc70b92c
|
@ -40,7 +40,7 @@ SYMBOLS: effect-dependency conditional-dependency definition-dependency ;
|
|||
|
||||
GENERIC: depends-on-c-type ( c-type -- )
|
||||
|
||||
M: c-type-word depends-on-c-type depends-on-definition ;
|
||||
M: word depends-on-c-type depends-on-definition ;
|
||||
|
||||
M: array depends-on-c-type
|
||||
[ word? ] filter [ depends-on-definition ] each ;
|
||||
|
|
Loading…
Reference in New Issue