[webkit-dev] Regarding lex( ) function in WebKit

Shriram Bhat shriramnbhat at gmail.com
Mon Sep 3 02:47:30 PDT 2007


Hi All,

In the file WebKit/WebCore/css/CSSParser.cpp, there is a function with
following signature.
int CSSParser::lex(void* yylav)

Inside this function there is call to function lex like this, int token =
lex();
This lex() function is declared in header file CSSParser.h
 Header file has declaration for both the lex functions as follows.

int lex(void* yylval);
int lex();

But in CSSParser.cpp, i am not finding any definition for the second
function lex().

If i try to build WebKit with Gdk support, i am getting undefined symbols
error that says,
ld:Undefined symbols
__ZN7WebCore9CSSParser3lexEv

Can anyone please give me more insight into this missing function
definition.


Thanks,
Shriram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070903/e720a585/attachment.html


More information about the webkit-dev mailing list