Displaying 2 results from an estimated 2 matches for "parserresult".
2007 Nov 11
2
[LLVMdev] MSVC 8 Build
...on code from the two 'RunVMAsmParser' functions
static Module* RunParser(Module * M) {
llvmAsmlineno = 1; // Reset the current line number...
CurModule.CurrentModule = M;
#if YYDEBUG
yydebug = Debug;
#endif
// Check to make sure the parser succeeded
if (yyparse()) {
if (ParserResult)
delete ParserResult;
return 0;
}
Cheers,
George Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071111/f4a660e0/attachment.html>
2007 Nov 12
0
[LLVMdev] MSVC 8 Build
...static
> Module* RunParser(Module * M) {
>
> llvmAsmlineno = 1; // Reset the current line number...
> CurModule.CurrentModule = M;
> #if YYDEBUG
> yydebug = Debug;
> #endif
>
> // Check to make sure the parser succeeded
> if (yyparse()) {
> if (ParserResult)
> delete ParserResult;
> return 0;
> }
Please try to fully rebuild the AsmParser project. This will regenerate the
llvmAsmParser.cpp from llvmAsmParser.y, which should resolve this issue.
Regards Hartmut