Sam Harwell
|
fbfa61c3dd
|
Remove tree parser reference
|
2013-01-02 12:48:58 -06:00 |
Sam Harwell
|
922fe53bdd
|
Ignore testStartRuleWithoutEOF until we decide on the desired behavior
|
2013-01-02 09:06:00 -06:00 |
Sam Harwell
|
4040dc0d6d
|
After consuming EOF, only configurations in a RuleStopState are viable
|
2013-01-02 09:03:14 -06:00 |
Sam Harwell
|
61b872377c
|
Add timeout to unit test due to highlight non-termination of prediction algorithm without resorting to @Ignore
|
2013-01-02 08:33:54 -06:00 |
Sam Harwell
|
e3383ecb61
|
Add unit test for start rule without EOF
|
2013-01-02 08:30:05 -06:00 |
Sam Harwell
|
274d566be6
|
TestPerformance.DEBUG_TEMPLATES should default to false
|
2013-01-02 06:50:05 -06:00 |
Sam Harwell
|
c462547ff3
|
Support the -XdbgST and -XdbgSTWait options in TestPerformance
|
2013-01-02 06:41:19 -06:00 |
Sam Harwell
|
26d267ca38
|
Add the -XdbgSTWait command line option to block the tool execution until the STViz inspection dialog is closed
|
2013-01-02 06:41:18 -06:00 |
Sam Harwell
|
b6a824ddd5
|
No need to override method - bug was fixed in V3 runtime
|
2013-01-02 06:40:49 -06:00 |
Terence Parr
|
bd46ac1c3f
|
I altered Target.getTargetStringLiteralFromANTLRStringLiteral() so that it converts \uXXXX in an ANTLR string to \uXXXX, thus, avoiding Java's conversion to a single character before compilation. Fixes antlr/antlr#111
|
2012-12-31 15:06:34 -08:00 |
Sam Harwell
|
7811ad9e49
|
Also copy command line options to lexer in combined grammars
|
2012-12-25 08:06:56 -06:00 |
Terence Parr
|
c93970207e
|
gen grammar name and antlr version into gen'd files
|
2012-12-24 13:35:25 -08:00 |
Terence Parr
|
f43166bb45
|
pull version from manifest file or use 4.x.
|
2012-12-24 13:25:28 -08:00 |
Sam Harwell
|
73e2a31d36
|
Call visitChildren by default
|
2012-12-24 14:04:32 -06:00 |
Terence Parr
|
36c3b2341c
|
add unit test for case when SLL needs to see EOF
|
2012-12-23 15:31:35 -08:00 |
Terence Parr
|
dc3279cf23
|
assertNotEquals wasn't found (I upgraded to junit 4.10 too). weird.
|
2012-12-20 16:33:26 -08:00 |
Sam Harwell
|
068075f1c4
|
Fix usage of BufferedTokenStream: cannot consume EOF
|
2012-12-17 22:09:50 -06:00 |
Sam Harwell
|
9ec75650e3
|
Optimize ATNState.getStateType
|
2012-12-17 13:20:47 -06:00 |
Sam Harwell
|
116c58bec6
|
Show all warnings and errors for V3 compatibility issues so the user has a list of all the items to fix
|
2012-12-16 17:18:51 -06:00 |
Sam Harwell
|
9865d03347
|
Tweak comments and messages in ErrorType
|
2012-12-16 17:18:17 -06:00 |
Sam Harwell
|
d7bf34d4f4
|
Remove ErrorType.INVALID
|
2012-12-16 17:17:09 -06:00 |
Sam Harwell
|
95335a8799
|
Unit test tweaks
|
2012-12-16 17:16:31 -06:00 |
Sam Harwell
|
2405219668
|
Encapsulate several fields in ANTLRMessage
|
2012-12-16 16:56:37 -06:00 |
Sam Harwell
|
54c9382ce1
|
Reference the latest RC-2 releases of ANTLR 3 and ST 4
|
2012-12-16 16:52:44 -06:00 |
Sam Harwell
|
99e4438256
|
Use a TestWatcher to properly clean up after successful tests
|
2012-12-15 18:19:40 -06:00 |
Sam Harwell
|
1274e819fe
|
Fix remaining minor issues with use of generics in Tool
|
2012-12-15 12:04:22 -06:00 |
Sam Harwell
|
2582d33085
|
Add @SuppressWarnings("fallthrough") to method with intentional fallthrough
|
2012-12-14 09:43:21 -06:00 |
Sam Harwell
|
0504334d08
|
Add missing @Override annotations
|
2012-12-14 09:42:02 -06:00 |
Sam Harwell
|
ed40c1aad1
|
Remove redundant casts
|
2012-12-14 09:41:11 -06:00 |
Sam Harwell
|
9d0ba56cbd
|
Build against the latest ANTLR 3.5-SNAPSHOT
|
2012-12-14 09:40:12 -06:00 |
Sam Harwell
|
227214765d
|
Cleaner initialization of predefined sets and maps
|
2012-12-14 09:38:40 -06:00 |
Sam Harwell
|
ac55cf3990
|
Add missing generic type arguments
|
2012-12-14 09:37:22 -06:00 |
Sam Harwell
|
51dadaf7e8
|
Updated TestPerformance output (platform-specific newlines, simplified source name formatting)
|
2012-12-13 08:51:36 -06:00 |
Sam Harwell
|
129e403f4a
|
Updated comments in TestPerformance
|
2012-12-13 08:45:14 -06:00 |
Sam Harwell
|
e48d87d6a8
|
In TestPerformance, REUSE_LEXER and REUSE_PARSER default to false since it's an easier case to work with and overhead is minimal now that the DFA is shared between instances
|
2012-12-13 08:27:55 -06:00 |
Sam Harwell
|
6aef4ef1eb
|
Introduce local variables in TestPerformance
|
2012-12-13 08:25:20 -06:00 |
Sam Harwell
|
b822070790
|
Use new STGroup.GROUP_FILE_EXTENSION value
|
2012-12-11 08:44:44 -06:00 |
Sam Harwell
|
1411a561ab
|
Use EnumSet instead of HashSet
|
2012-12-11 08:44:38 -06:00 |
Sam Harwell
|
70360a4ce8
|
GrammarASTWithOptions.getOptions never returns null
|
2012-12-11 08:44:05 -06:00 |
Sam Harwell
|
f418ae6610
|
Fix template issues
|
2012-12-11 08:43:33 -06:00 |
Sam Harwell
|
a50c8d9088
|
Listen for issues reported by StringTemplate, report them as warnings
|
2012-12-11 08:43:32 -06:00 |
Sam Harwell
|
fc3bb61d2d
|
"warning treated as error" is a one-off error
|
2012-12-11 08:43:31 -06:00 |
Sam Harwell
|
934bea8b12
|
Add -long-messages option; only show exceptions with errors when set
|
2012-12-11 08:43:25 -06:00 |
Sam Harwell
|
0e91700678
|
Stronger argument checks for ATN state and transition factory methods
|
2012-12-07 11:16:04 -06:00 |
Sam Harwell
|
26f16bed73
|
Updated documentation
|
2012-12-07 08:54:53 -06:00 |
Sam Harwell
|
38b5a8321b
|
Remove reference to tree parsers
|
2012-12-07 08:50:54 -06:00 |
Sam Harwell
|
356b8e4b27
|
Updated parameter types of copy constructors, return types of dupNode
|
2012-12-07 08:31:38 -06:00 |
Sam Harwell
|
9d3c763470
|
Add ATNSimulator.SERIALIZED_VERSION, resolved antlr/antlr4#95
|
2012-12-06 13:07:32 -06:00 |
Sam Harwell
|
886baaf773
|
Use separate lists in the serialized ATN for non-greedy states (cleaner, allows ATNs with twice as many states), resolves antlr/antlr4#96
|
2012-12-06 13:07:11 -06:00 |
Sam Harwell
|
064501967e
|
Construct GrammarASTAdaptor with CharStream from lexer
|
2012-12-06 13:05:21 -06:00 |