diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-04-05 16:21:27 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-04-05 16:21:27 +0000 |
commit | 7ad68dee25a36dc5950adaec32948d0157cb673c (patch) | |
tree | ad0fcdd00fc46389a6e7f9a9548b9adc5d01e244 /src/parser/antlr_input.h | |
parent | 57e51c2212f1c626368c66c6fbcf78ea0ce9722e (diff) |
Adding match override to AntlrInput, in attempt to workaround Bug #76
Diffstat (limited to 'src/parser/antlr_input.h')
-rw-r--r-- | src/parser/antlr_input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/antlr_input.h b/src/parser/antlr_input.h index c338c528a..d77a2b586 100644 --- a/src/parser/antlr_input.h +++ b/src/parser/antlr_input.h @@ -64,6 +64,9 @@ class AntlrInput : public Input { * NOTE: We assume that we <em>can</em> free it on exit. No sharing! */ pANTLR3_INPUT_STREAM d_input; + static void *match(pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 ttype, + pANTLR3_BITSET_LIST follow); + /** Turns an ANTLR3 exception into a message for the user and calls <code>parseError</code>. */ static void reportError(pANTLR3_BASE_RECOGNIZER recognizer); |