mescc: Avoid warnings in recursve functions.
* module/language/c99/compiler.mes (expr->accu): Avoid warnings in recursve functions.
This commit is contained in:
parent
f8865ab276
commit
637c40aeb9
|
@ -665,7 +665,8 @@
|
||||||
(if (not (assoc-ref locals name))
|
(if (not (assoc-ref locals name))
|
||||||
(begin
|
(begin
|
||||||
(if (and (not (assoc name (.functions info)))
|
(if (and (not (assoc name (.functions info)))
|
||||||
(not (assoc name globals)))
|
(not (assoc name globals))
|
||||||
|
(not (equal? name (.function info))))
|
||||||
(stderr "warning: undeclared function: ~a\n" name))
|
(stderr "warning: undeclared function: ~a\n" name))
|
||||||
(append-text args-info (list (i386:call-label name n))))
|
(append-text args-info (list (i386:call-label name n))))
|
||||||
(let* ((empty (clone info #:text '()))
|
(let* ((empty (clone info #:text '()))
|
||||||
|
|
Loading…
Reference in a new issue