From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: nyacc 0.73.0 released Date: Sat, 7 Jan 2017 06:19:27 -0800 Message-ID: <9A4B6D48-A9E5-4355-A717-934AD3FFA96D@gmail.com> References: <87bmvjxgtl.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1483798804 1019 195.159.176.226 (7 Jan 2017 14:20:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2017 14:20:04 +0000 (UTC) Cc: guile-user@gnu.org To: Jan Nieuwenhuizen Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 07 15:20:00 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPrqf-0007lx-1a for guile-user@m.gmane.org; Sat, 07 Jan 2017 15:19:57 +0100 Original-Received: from localhost ([::1]:57895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPrqj-0008SX-2c for guile-user@m.gmane.org; Sat, 07 Jan 2017 09:20:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPrqN-0008SR-R7 for guile-user@gnu.org; Sat, 07 Jan 2017 09:19:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPrqN-000547-0U for guile-user@gnu.org; Sat, 07 Jan 2017 09:19:39 -0500 Original-Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:35171) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPrqH-0004tE-7c; Sat, 07 Jan 2017 09:19:33 -0500 Original-Received: by mail-pg0-x242.google.com with SMTP id 204so117883pge.2; Sat, 07 Jan 2017 06:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YzlvCjFyw2NfAGbTixt7KrLaZCye/YVW1fmVW88G6YI=; b=STAw8Fuf06U6bOLs3gCNQWz83GO+QhsqNQgb97TiQxN6dGicBWyepPZTvZ9ljXFNnA fpg2B1Eg4o5ZqdMEEYwrU6KcBjydmkYLRM2aE0KkxnZ8MYg4xFFKnrfcmYQbaZCcpiD3 6c/eQgKRRZEH6Mk4mXhW5hEDvFCwUb+tHHQC6fiBPSp5/v52Nx7duhDmFP8Nv/aFyysO SNgsh87KWoogb5X+g3rEjyxvBpIJP2/5qoFCvYKSNUbUlbJ1CyAtN17rT5YnOQazgzWk O6GZizQTcv/T/5AhypVP8XxXfK6Ga8s7gb8R+iL1WPEygvObXVqyyXfYjXFO3tnv1fZG wW2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YzlvCjFyw2NfAGbTixt7KrLaZCye/YVW1fmVW88G6YI=; b=Z6a/LJtQUPUSCKK+Eus5oU3iK8f1NRG00UcxSwS8pnNaNhouXcgngxAUoF3Q+gcGNZ YHwz2s6pnaEnHPWh7LOMmuSNwi7qM2MnS1q6OfDuiQwn92g2PTPbkL4zB3MRDJI6KerJ H06CiacV+PREIIu70rBj5siuLx0IxtroMp5BmkXSnOPXuPDYR849920F+inTD43uuYSk vzoG4e9DEg2WnfXA8iRi0r/2wRlgk92gtfJLuGcei39hjVgZSTFP5xaV+tjPDC5hJTXa TOZf5KDdN/W9uygvfnliVxv+WL+/TFlmi8JmNIc29YN9J/41bdStPma25Kpo/7j05qpd R5IQ== X-Gm-Message-State: AIkVDXInrSgxX//O+kFH09UMs6zeQ3HR5kEc9UrDlp8CKZvVViOm2uKbq/B0XEutTo9Weg== X-Received: by 10.98.0.143 with SMTP id 137mr76609263pfa.183.1483798770140; Sat, 07 Jan 2017 06:19:30 -0800 (PST) Original-Received: from nautilus.championbroadband.com (216-165-246-244.championbroadband.com. [216.165.246.244]) by smtp.gmail.com with ESMTPSA id 78sm102320877pfj.23.2017.01.07.06.19.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jan 2017 06:19:29 -0800 (PST) In-Reply-To: <87bmvjxgtl.fsf@gnu.org> X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::242 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13082 Archived-At: > On Jan 7, 2017, at 3:14 AM, Jan Nieuwenhuizen wrote: >=20 > Matt Wette writes: >=20 > Hi Matt! >=20 > Find small bugfix for GOTO attached. >=20 > --- a/module/nyacc/lang/c99/mach.d/c99act.scm > +++ b/module/nyacc/lang/c99/mach.d/c99act.scm > @@ -690,7 +690,7 @@ > ;; opt-expression =3D> expression > (lambda ($1 . $rest) $1) > ;; jump-statement =3D> "goto" identifier ";" > - (lambda ($3 $2 $1 . $rest) `(goto $2)) > + (lambda ($3 $2 $1 . $rest) `(goto ,$2)) > ;; jump-statement =3D> "continue" ";" > (lambda ($2 $1 . $rest) '(continue)) > ;; jump-statement =3D> "break" ";" > --=20 Thanks. The bug is actually in lang/c99/mach.scm. c99act.scm is output = from running make-lalr-{spec,machine} on mach.scm, (jump-statement ; S 6.8.6 ("goto" identifier ";" ($$ `(goto ,$2))). ;; <=3D was `(goto $2) ("continue" ";" ($$ '(continue))) ... Also, I am currently working on the fixes branch to cleanup the = C-preprocessor support so that #:mode =E2=80=98code works more robustly. Matt