Sam Harwell
|
2242948c03
|
Merge branch 'fix-76'
|
2013-03-27 15:02:17 -05:00 |
Sam Harwell
|
cae9f7bbf1
|
Merge branch 'fix-202'
|
2013-03-27 15:02:07 -05:00 |
Sam Harwell
|
71cc6fba8a
|
Merge branch 'fix-194'
|
2013-03-27 15:01:57 -05:00 |
Sam Harwell
|
f75878b3e6
|
Merge branch 'fix-196'
|
2013-03-27 15:01:45 -05:00 |
Sam Harwell
|
c592e41637
|
Split serialized ATN in Java target to ensure string literals are under 65535 bytes limit (fixes #76)
|
2013-03-27 11:04:28 -05:00 |
Sam Harwell
|
7f029a3c80
|
Avoid creating empty action methods in lexer (fixes #202)
|
2013-03-27 09:46:45 -05:00 |
Sam Harwell
|
46c12278a8
|
Add error 150: MISSING_LEXER_COMMAND_ARGUMENT; add error 151: UNWANTED_LEXER_COMMAND_ARGUMENT
|
2013-03-27 00:10:07 -05:00 |
Sam Harwell
|
551100ea37
|
Add error 149: INVALID_LEXER_COMMAND (fixes #190)
|
2013-03-26 23:57:11 -05:00 |
Sam Harwell
|
05f4b76fab
|
Add additional unit test for empty tokens{} block in grammar
|
2013-03-26 23:56:19 -05:00 |
Sam Harwell
|
b4413e8656
|
Fix handling of empty options{} block in grammar (fixes #194)
|
2013-03-26 23:55:53 -05:00 |
Sam Harwell
|
15a23c3cd9
|
Configs "in context" have special meaning for predicate transitions, so don't add them to closure busy as a visited state or some configs could be improperly eliminated from the closure set (fixes #196)
|
2013-03-26 23:11:20 -05:00 |
Sam Harwell
|
06375af15e
|
Update CHANGES.txt
|
2013-03-26 18:54:45 -05:00 |
Sam Harwell
|
0bdf5aa4d1
|
Remove unused Parser utility method toStrings left over from output=template
|
2013-03-26 18:53:12 -05:00 |
Sam Harwell
|
dd9ba73b6f
|
Improved documentation and use of the Parser._tracer field; made the field private instead of protected
|
2013-03-26 18:53:09 -05:00 |
Sam Harwell
|
18bb9dc9be
|
Updated documentation of getBuildParseTree and setBuildParseTree
|
2013-03-26 18:53:06 -05:00 |
Sam Harwell
|
a60df9d28e
|
Updated documentation of Parser's parse listener related methods; event trigger methods are protected instead of public
|
2013-03-26 18:53:03 -05:00 |
Sam Harwell
|
3acc78cf87
|
Use full name "listener" for variables instead of just "l"
|
2013-03-26 18:53:00 -05:00 |
Sam Harwell
|
a087ed17ee
|
Updated Parser documentation
|
2013-03-26 18:52:57 -05:00 |
Sam Harwell
|
f12de7dfa7
|
Remove unused (commented out) code
|
2013-03-26 18:52:54 -05:00 |
Sam Harwell
|
1d3910a78b
|
Updated documentation of Parser fields
|
2013-03-26 18:52:51 -05:00 |
Sam Harwell
|
cb6207e707
|
Updated documentation of Parser.match and Parser.matchWildcard
|
2013-03-26 18:52:49 -05:00 |
Sam Harwell
|
c577f5abfe
|
Updated documentation in RecognitionException
|
2013-03-26 18:52:46 -05:00 |
Sam Harwell
|
df9685ecaf
|
Update CHANGES.txt
|
2013-03-26 18:45:59 -05:00 |
Sam Harwell
|
6adf9bc95d
|
Remove unnecessary null check
|
2013-03-26 18:42:21 -05:00 |
Sam Harwell
|
a7e021da4c
|
Updated ANTLRErrorStrategy and DefaultErrorStrategy documentation
|
2013-03-26 18:42:18 -05:00 |
Sam Harwell
|
1213aaad0b
|
Call inErrorRecoveryMode instead of accessing the errorRecoveryMode field directly
|
2013-03-26 18:42:16 -05:00 |
Sam Harwell
|
185172caac
|
Improved encapsulation of DefaultErrorStrategy internal implementation details (protected methods instead of public)
|
2013-03-26 18:42:13 -05:00 |
Sam Harwell
|
56e49fdc38
|
ANTLRErrorStrategy.sync and recover can throw a RecognitionException, but not reportError
|
2013-03-26 18:41:48 -05:00 |
Sam Harwell
|
70452f7e4b
|
ANTLRErrorStrategy.beginErrorCondition and endErrorCondition were implementation details. Replaced them with the API-relevant alternatives reset and reportMatch
|
2013-03-26 18:41:45 -05:00 |
Sam Harwell
|
6c4f4181d9
|
Simplify the ANTLRErrorStrategy interface by reusing the token factory from the parser instead of having the error strategy maintain its own separately
|
2013-03-26 18:41:42 -05:00 |
Sam Harwell
|
07689de50f
|
Updated @NotNull and @Nullable annotations, linked documentation
|
2013-03-26 18:41:39 -05:00 |
Sam Harwell
|
685d2a32d4
|
Update CHANGES.txt
|
2013-03-26 18:23:47 -05:00 |
Sam Harwell
|
c6a9d62b25
|
Track the number of syntax errors in Parser.notifyErrorListeners instead of in the error strategy
|
2013-03-26 18:23:06 -05:00 |
Sam Harwell
|
e9bccee49f
|
Update CHANGES.txt
|
2013-03-26 18:14:22 -05:00 |
Sam Harwell
|
bc17cd4a28
|
Move primary implementation of getExpectedTokens to ATN, fixes #191
|
2013-03-26 18:14:19 -05:00 |
Sam Harwell
|
4f29c2fe3d
|
Updated ATN documentation
|
2013-03-26 18:14:16 -05:00 |
Sam Harwell
|
f6ad977e0d
|
ATN fields grammarType and maxTokenType are now final
|
2013-03-26 18:14:13 -05:00 |
Sam Harwell
|
8b6c994694
|
Remove unnecessary field ATN.stateNumber
|
2013-03-26 18:14:10 -05:00 |
Sam Harwell
|
36abbda44f
|
Create ATNType enumeration for ATN.grammarType field, use UUID instead of incrementing a version number for improved reliability across branches
|
2013-03-26 18:14:07 -05:00 |
Sam Harwell
|
507f331bd0
|
Update CHANGES.txt
|
2013-03-26 18:14:04 -05:00 |
Sam Harwell
|
7d52fb7ecd
|
Add a PNG Files filter and select it by default
|
2013-03-07 15:21:49 -06:00 |
Sam Harwell
|
5fdb01499d
|
Handle the overwrite confirmation by overriding JFileChooser.approveSelection
|
2013-03-07 15:21:18 -06:00 |
Sam Harwell
|
df2dcb6631
|
Merge remote-tracking branch 'bkiers/png-export-tweaks'
|
2013-03-07 14:54:05 -06:00 |
Bart Kiers
|
c62dfdaa69
|
Expanded PNG export functionality.
|
2013-03-07 21:09:51 +01:00 |
Terence Parr
|
347375ec04
|
Move "png" button to the right of "OK", refactor export action to its own method
|
2013-03-06 15:20:30 -06:00 |
Sam Harwell
|
82a00104f6
|
Fix formatting problems in pull request
|
2013-03-06 15:15:32 -06:00 |
Sam Harwell
|
d4c8db4940
|
Merge remote-tracking branch 'bkiers/png-export-tree'
|
2013-03-06 14:57:01 -06:00 |
Bart Kiers
|
39f58b95ae
|
Added a export-to-PNG button in the dialog that is launched after invoking org.antlr.v4.runtime.misc.TestRig with the "-gui" parameter. When pressed, a PNG file of the parse tree is created in the present working directory.
|
2013-03-06 21:05:19 +01:00 |
Sam Harwell
|
c35f5ec40c
|
Do not require escape for $ in action when not followed by an ID start char (fixes #176)
|
2013-03-06 13:13:33 -06:00 |
Sam Harwell
|
56c053a5be
|
Remove unreferenced fragment rules
|
2013-03-06 13:00:29 -06:00 |