(write-notification-line
(lambda (port)
(write-string "Begin pass 1:" port)))
- (for-each (lambda (node)
- (if (not (source-node/modification-time node))
- (source-node/syntax! node)))
- source-nodes/by-rank)
+ (bind-condition-handler (list condition-type:simple-warning)
+ (lambda (condition)
+ (if (string=? (access-condition condition 'MESSAGE)
+ "Missing externs file:")
+ (muffle-warning)))
+ (lambda ()
+ (for-each (lambda (node)
+ (if (not (source-node/modification-time node))
+ (source-node/syntax! node)))
+ source-nodes/by-rank)))
(if (there-exists? source-nodes/by-rank
(lambda (node)
(and (not (source-node/modification-time node))
(write-notification-line
(lambda (port)
(write-string "Begin pass 1:" port)))
- (for-each (lambda (node)
- (if (not (source-node/modification-time node))
- (source-node/syntax! node)))
- source-nodes/by-rank)
+ (bind-condition-handler (list condition-type:simple-warning)
+ (lambda (condition)
+ (if (string=? (access-condition condition 'MESSAGE)
+ "Missing externs file:")
+ (muffle-warning)))
+ (lambda ()
+ (for-each (lambda (node)
+ (if (not (source-node/modification-time node))
+ (source-node/syntax! node)))
+ source-nodes/by-rank)))
(if (there-exists? source-nodes/by-rank
(lambda (node)
(and (not (source-node/modification-time node))
(write-notification-line
(lambda (port)
(write-string "Begin pass 1:" port)))
- (for-each (lambda (node)
- (if (not (source-node/modification-time node))
- (source-node/syntax! node)))
- source-nodes/by-rank)
+ (bind-condition-handler (list condition-type:simple-warning)
+ (lambda (condition)
+ (if (string=? (access-condition condition 'MESSAGE)
+ "Missing externs file:")
+ (muffle-warning)))
+ (lambda ()
+ (for-each (lambda (node)
+ (if (not (source-node/modification-time node))
+ (source-node/syntax! node)))
+ source-nodes/by-rank)))
(if (there-exists? source-nodes/by-rank
(lambda (node)
(and (not (source-node/modification-time node))
(write-notification-line
(lambda (port)
(write-string "Begin pass 1:" port)))
- (for-each (lambda (node)
- (if (not (source-node/modification-time node))
- (source-node/syntax! node)))
- source-nodes/by-rank)
+ (bind-condition-handler (list condition-type:simple-warning)
+ (lambda (condition)
+ (if (string=? (access-condition condition 'MESSAGE)
+ "Missing externs file:")
+ (muffle-warning)))
+ (lambda ()
+ (for-each (lambda (node)
+ (if (not (source-node/modification-time node))
+ (source-node/syntax! node)))
+ source-nodes/by-rank)))
(if (there-exists? source-nodes/by-rank
(lambda (node)
(and (not (source-node/modification-time node))