[sr-dev] [tracker] Comment added: #!define does not work in $hdr()

sip-router admin at sip-router.org
Mon Jul 18 22:42:13 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#139 - #!define does not work in $hdr()
User who did this - Daniel-Constantin Mierla (miconda)

----------
Parsing pseudo-variables use different states in the lex parser -- not mapping to IDs or STRINGs, so the preprocessor directives can't substitute there. I will look to see if something can be changed here.

Meanwhile, there is an option for this case, you can use:

pv_printf("$var(hdr)", "$hdr(HEADER)");

----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=139#comment237

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list