Guest User

Untitled

a guest
Mar 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. --- a/runtime/Cpp/include/antlr3cyclicdfa.inl
  2. +++ b/runtime/Cpp/include/antlr3cyclicdfa.inl
  3. @@ -167,7 +167,7 @@
  4. }
  5. /* EOF transition to accept state?
  6. */
  7. - if ( c == ImplTraits::CommonTokenType::TOKEN_EOF && m_eof[s] >= 0)
  8. + if ( ANTLR_UINT32(c) == ImplTraits::CommonTokenType::TOKEN_EOF && m_eof[s] >= 0)
  9. {
  10. is->rewind(mark);
  11. return m_accept[m_eof[s]];
Add Comment
Please, Sign In to add comment