From e5cd17ba658db6f27b7bc16a3a1a66ccfd06412c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 6 Feb 2003 18:52:08 +0000 Subject: [PATCH] Fix bug in definition of COMPLETE keyword. --- v7/src/star-parser/parser.scm | 47 ++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/v7/src/star-parser/parser.scm b/v7/src/star-parser/parser.scm index fcf569fbd..600d70c82 100644 --- a/v7/src/star-parser/parser.scm +++ b/v7/src/star-parser/parser.scm @@ -1,25 +1,26 @@ -;;; -*-Scheme-*- -;;; -;;; $Id: parser.scm,v 1.33 2002/11/20 19:46:26 cph Exp $ -;;; -;;; Copyright (c) 2001, 2002 Massachusetts Institute of Technology -;;; -;;; This file is part of MIT Scheme. -;;; -;;; MIT Scheme is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU General Public License as published -;;; by the Free Software Foundation; either version 2 of the License, -;;; or (at your option) any later version. -;;; -;;; MIT Scheme is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;;; General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with MIT Scheme; if not, write to the Free Software -;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -;;; 02111-1307, USA. +#| -*-Scheme-*- + +$Id: parser.scm,v 1.34 2003/02/06 18:52:08 cph Exp $ + +Copyright 2001,2002,2003 Massachusetts Institute of Technology + +This file is part of MIT Scheme. + +MIT Scheme is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License, or (at your +option) any later version. + +MIT Scheme is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with MIT Scheme; if not, write to the Free Software Foundation, +Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +|# ;;;; Parser language @@ -117,7 +118,7 @@ (define-*parser-expander 'COMPLETE (lambda (expression) - `(SEQ ,expression (MATCH (END-OF-INPUT))))) + `(SEQ ,expression (NOISE (END-OF-INPUT))))) (define-*parser-expander 'TOP-LEVEL (lambda (expression) -- 2.25.1