[sldev] Re: Mac build, python error
Ryan Williams (Which)
rdw at lindenlab.com
Mon Jan 21 15:31:54 PST 2008
Anna Gulaev wrote:
> This is the pattern matching in the python script failing to find my
> LL_CHANNEL, which I thought I customized according to the guidelines.
> It does not like the string
>
> Second Life Open Source [Vengeance Studio]
Hmmm... good to know. I think that the pattern would work better as:
"LL_CHANNEL\s=\s\"(.+)\";$"
but I haven't tested that to see if it works all the time.
The expression should be able to extract the value of the C string, no
matter what characters it contains. Leaving aside the issue of why on
earth we're parsing a .h file for input to a Python script, of course. I
believe that the eventual goal is to generate llversionviewer.h from a
template and configuration file, which will make this sort of problem go
away.
>
> Removing the square brackets gets me by this. Perhaps the guidelines
> meant that including a "brand" was optional, and not that it could be
> included in squeare brackets?
>
Technically you should be allowed to use any string you want for the
channel name; this is a bug. Thanks for reporting it!
-RYaN
More information about the SLDev
mailing list