Code Review
/
yangtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
ed9da13
)
Capture ANTLR4 syntax errors and log them
25/29025/3
author
Martin Ciglan
<mciglan@cisco.com>
Fri, 30 Oct 2015 14:27:42 +0000
(15:27 +0100)
committer
Gerrit Code Review
<gerrit@opendaylight.org>
Sat, 31 Oct 2015 02:31:25 +0000
(
02:31
+0000)
By default, ANTLR4 parser instance has ANTLR4's ConsoleErrorListener
attached to it, therefore error messages are piped to System.err.
In this patch, this is silenced and captured via existing
custom implementation of ANTLR4's BaseErrorListener.
Change-Id: I1922880bf09e69ca55316dacbca9b5fc338f721c
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
No differences found