From: Guillermo J. Rozas Date: Tue, 3 Apr 1990 23:21:21 +0000 (+0000) Subject: Allow (pseudo) instructions to expand into no code. X-Git-Tag: 20090517-FFI~11458 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a20f801c7d8e12a0e4e159a7c69b293c32560d58;p=mit-scheme.git Allow (pseudo) instructions to expand into no code. --- diff --git a/v7/src/compiler/machines/bobcat/insmac.scm b/v7/src/compiler/machines/bobcat/insmac.scm index 46e7db8bf..a09ead693 100644 --- a/v7/src/compiler/machines/bobcat/insmac.scm +++ b/v7/src/compiler/machines/bobcat/insmac.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/insmac.scm,v 1.125 1989/10/26 07:37:39 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/insmac.scm,v 1.126 1990/04/03 23:21:21 jinx Rel $ -Copyright (c) 1988 Massachusetts Institute of Technology +Copyright (c) 1988, 1990 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -242,9 +242,11 @@ MIT in each case. |# ,code)) (else (error "PARSE-WORD: multiple tail elements" tail)))))) - `(,(if (null? code) 'CONS 'CONS-SYNTAX) - ,(optimize-group-syntax instruction early-instruction-parsing?) - ,code))) + (if (not (null? instruction)) + `(,(if (null? code) 'CONS 'CONS-SYNTAX) + ,(optimize-group-syntax instruction early-instruction-parsing?) + ,code) + code))) (define (expand-descriptors descriptors receiver) (if (null? descriptors)