Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/runtime/Cpp/include/antlr3cyclicdfa.inl
- +++ b/runtime/Cpp/include/antlr3cyclicdfa.inl
- @@ -167,7 +167,7 @@
- }
- /* EOF transition to accept state?
- */
- - if ( c == ImplTraits::CommonTokenType::TOKEN_EOF && m_eof[s] >= 0)
- + if ( ANTLR_UINT32(c) == ImplTraits::CommonTokenType::TOKEN_EOF && m_eof[s] >= 0)
- {
- is->rewind(mark);
- return m_accept[m_eof[s]];
Add Comment
Please, Sign In to add comment