[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: pcb: parameter escaping for commands (was: Re: pcb/gsch2pcb: problem with special characters in pin names)



On Fri, Nov 14, 2008 at 12:55:30PM -0500, DJ Delorie wrote:

pcb currently has no escape mechanism for that.  It would be added to
src/hid/common/actions.c in hid_parse_actions() if you want to work on
it.
Looks like it's going to need a full rewrite of that function to implement escaping. Is the supported syntax described anywhere? hid_parse_actions is able to parse multiple invocations with parameters, but an invocation without parameters must be the last one; empty parentheses supply a single, empty parameter (instead of no parameters like an invocation without parentheses does) etc. I'd rather do the reimplementation based on a syntax definition than trying to mimic the old function as much as possible.

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user