[antlr-interest] C++ access violation

krd12002 kordeul at hotmail.com
Sun Jul 14 00:54:53 PDT 2002


Hi

I'm using ANTLR for quite some time in C++. Now (in a new project) I
cannot make it run - everything compiles and links, but during
runtime, I get access violation exception thrown inside LexerInputState:

inline InputBuffer& LexerInputState::getInput()
{
    return *input;
}

The problem is "input" is not a valid pointer. This happens after the
first call to LA()!

I double checked both my language definition, compiler settings and
lexer/parser invokation, but it all looks ok.

I'm getting lost here ... any tips? Tom



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list