From: Dave Brolley <brolley@redhat.com>
To: cgen@sources.redhat.com, sid@sources.redhat.com
Subject: [patch][commit] String Handling in sid-model.scm
Date: Tue, 07 Nov 2006 21:14:00 -0000 [thread overview]
Message-ID: <4550F71D.2000101@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
Hi,
Guile 1.6.4 was choking because of a missing symbol->string call. I've
committed the attached patch.
Dave
[-- Attachment #2: sid-model.ChangeLog --]
[-- Type: text/plain, Size: 129 bytes --]
2006-11-07 Dave Brolley <brolley@redhat.com>
* sid-model.scm (gen-model-unit-fn-decl): Use symbol->string where
necessary.
[-- Attachment #3: sid-model.patch.txt --]
[-- Type: text/plain, Size: 911 bytes --]
Index: cgen/sid-model.scm
===================================================================
RCS file: /cvs/src/src/cgen/sid-model.scm,v
retrieving revision 1.9
diff -c -p -r1.9 sid-model.scm
*** cgen/sid-model.scm 9 May 2006 18:33:04 -0000 1.9
--- cgen/sid-model.scm 7 Nov 2006 21:10:05 -0000
*************** static const MACH_IMP_PROPERTIES @cpu@_i
*** 85,91 ****
(gen-c-args (map (lambda (arg)
(string-append
(mode:c-type (mode:lookup (cadr arg)))
! " /*" (car arg) "*/"))
(find (lambda (arg)
; Indices of scalars not passed.
(not (null? (cdr arg))))
--- 85,91 ----
(gen-c-args (map (lambda (arg)
(string-append
(mode:c-type (mode:lookup (cadr arg)))
! " /*" (symbol->string (car arg)) "*/"))
(find (lambda (arg)
; Indices of scalars not passed.
(not (null? (cdr arg))))
reply other threads:[~2006-11-07 21:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4550F71D.2000101@redhat.com \
--to=brolley@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).