Mailinglist Archive: yast-devel (129 mails)

< Previous Next >
[yast-devel] Re: YCP toXml() and symbol table
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Tue, 6 Nov 2007 12:00:30 +0100
  • Message-id: <20071106110030.GA20635@xxxxxxxxxxxxx>
* Duncan Mac-Vicar P. <dmacvicar@xxxxxxx> [Nov 06. 2007 00:49]:

Hi hackers

<symbols>
<symbol global="1" category="filename" type="unspec"
name="simple-1.ycp"/>
<symbol category="function" type="function" name="foobar"/>
<symbol category="variable" type="string" name="foo"/>
</symbols>

is function symbol type meant to be "function" or is a bug in the xml output?

Its an unfinished piece of the xml output ;-}
It should be the function signature as used in declaration_t of
include/ycp/StaticDeclaration.h

I browsed the code quickly but could not find if function sets the symbol
type to something.

Thats exactly why 'type="function"' is set. When I implemented toXml()
I didn't find a way to access the function signature. :-(


Klaus
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References