This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: escaping in syntax strings


Hi -

brolley wrote:
: [...] I don't think that it's a better way than coding $ in the 
: syntax string and handling it directly though.

Yeah -- the main difference is in error detection.  Glancing at the
opcode/FOO-asm.c files, it looks like the message generated by a
syntax-string mismatch should be reasonably good 
	file:line: syntax error (expected char `0', found `2')
so I guess this simpler approach is okay.

- FChE

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]