diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-20 20:41:10 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-20 20:41:10 +0000 |
commit | 4af7ae6c56153347035656a2596254c1a8a17668 (patch) | |
tree | 3722478f2d678b63feefe9faa3e3ddbb0225c80c /src/parser/bounded_token_buffer.h | |
parent | 93e8bc35db891c6041f9690366be933433a0ad52 (diff) |
Fixing minor whitespace bug in the parser
Diffstat (limited to 'src/parser/bounded_token_buffer.h')
-rw-r--r-- | src/parser/bounded_token_buffer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/bounded_token_buffer.h b/src/parser/bounded_token_buffer.h index fad5edc1e..a29462687 100644 --- a/src/parser/bounded_token_buffer.h +++ b/src/parser/bounded_token_buffer.h @@ -18,6 +18,11 @@ ** an exception. Only use this factory if you *know* that the grammar ** has bounded lookahead (e.g., if you've set the k parameter in the ** parser. + ** + ** NOTE: ANTLR3 puts "hidden" tokens into this buffer too, so + ** pathological inputs can exceed the k token lookahead, even if + ** your grammar really is LL(k). Be sure that irrelevant tokens + ** are SKIP()'d and not "hidden". **/ #ifndef __CVC4__PARSER__BOUNDED_TOKEN_BUFFER_H |