escaping in syntax strings

Ben Elliston bje@redhat.com
Mon Mar 26 05:22:00 GMT 2001


>>>>> "Frank" == Frank Ch Eigler <fche@redhat.com> writes:

  Frank> :   If a `$' is required in the syntax, it is specified with `$'.
  Frank> This is a rendering problem with the docs.  The texinfo file says "\$".

Actually, that was a problem with my transcribing of the docs to
email.  I accidentally removed the backslash.  Oops.  Now:

  Frank> : Is it a bug that I had to use "... \\$" in my cpu description?
  Frank> Try plain "\$".

I did.  It reached the relevant routine as merely `$'.  It looks like
an earlier stage of processing stripped that level of escaping.  I
definitely needed two \\'s to make it work.

Ben



More information about the Cgen mailing list