public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* [patch][commit] String conversion for error message
@ 2005-07-29 18:53 Dave Brolley
  0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2005-07-29 18:53 UTC (permalink / raw)
  To: cgen

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hi,

I've committed the attached patch which ensures that (obj:name op) is a 
string when passed to string-append.

Dave


[-- Attachment #2: cgen-string.ChangeLog --]
[-- Type: text/plain, Size: 133 bytes --]

2005-07-29  Dave Brolley  <brolley@redhat.com>

	* operand.scm (op:new-mode): Convert (obj:name op) to a string for
	string-append.


[-- Attachment #3: cgen-string.patch.txt --]
[-- Type: text/plain, Size: 675 bytes --]

Index: cgen/operand.scm
===================================================================
RCS file: /cvs/src/src/cgen/operand.scm,v
retrieving revision 1.10
diff -c -p -r1.10 operand.scm
*** cgen/operand.scm	15 Jun 2005 21:28:18 -0000	1.10
--- cgen/operand.scm	29 Jul 2005 18:46:16 -0000
***************
*** 295,301 ****
  	      result)
  	    (parse-error "op:new-mode"
  			 (string-append "invalid mode for operand `"
! 					(obj:name op)
  					"'")
  			 new-mode-name))))
  )
--- 295,301 ----
  	      result)
  	    (parse-error "op:new-mode"
  			 (string-append "invalid mode for operand `"
! 					(->string (obj:name op))
  					"'")
  			 new-mode-name))))
  )

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-29 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-29 18:53 [patch][commit] String conversion for error message Dave Brolley

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).