Terence Parr
|
43424cd5df
|
do check for a==b in merge(); improve DOT output
|
2012-07-22 12:10:40 -07:00 |
Terence Parr
|
43e986db8b
|
small hash code cleanup.
|
2012-07-22 11:27:44 -07:00 |
Terence Parr
|
54d23066b2
|
merge of array and $ for rootIsWildcard was broken. Fixed JavaLR parsing. Still sticks on Pattern.java but not 5 hours anymore--faster up til that landmine.
|
2012-07-21 19:24:03 -07:00 |
Terence Parr
|
36a725765e
|
cleanup; hashcode for single node pred ctx was wrong. failed to see [46] and [46] as same.
|
2012-07-21 17:13:16 -07:00 |
Terence Parr
|
93945d47f5
|
Merge branch 'master' into stack-graphs-integration
|
2012-07-21 16:27:36 -07:00 |
Terence Parr
|
9539572ee7
|
simplify test.
|
2012-07-21 16:27:00 -07:00 |
Terence Parr
|
7a4a269615
|
fix test so no error due to EOF.
|
2012-07-21 15:36:56 -07:00 |
Terence Parr
|
8c03dbacf8
|
Resolves #41. EOF cannot follow s. would need s' : s EOF ; for that. updating unit test TestParserExec.testOptional
|
2012-07-21 15:29:07 -07:00 |
Terence Parr
|
991014d3f2
|
clean up, add comments, fix graph unit tests, updated toDotString().
|
2012-07-21 15:10:15 -07:00 |
Terence Parr
|
f78bf4d097
|
rm comment; looks inappropriate for branch
|
2012-07-21 10:45:59 -07:00 |
Terence Parr
|
0141bc058a
|
merge from master,In preparation for continuing on this experiment branch.
|
2012-07-21 10:38:55 -07:00 |
Sam Harwell
|
885f6530ad
|
Use chained calls to append instead of string concatenation
|
2012-07-20 14:52:49 -05:00 |
Sam Harwell
|
6259ab5c9e
|
Use StringBuilder instead of StringBuffer
|
2012-07-20 14:52:48 -05:00 |
Sam Harwell
|
2056e019a5
|
Use HashMap instead of Hashtable
|
2012-07-20 14:52:47 -05:00 |
Sam Harwell
|
44ef41ff29
|
Remove unnecessary variable initializations
|
2012-07-20 14:52:46 -05:00 |
Sam Harwell
|
6045bd4eb5
|
Add null check
|
2012-07-20 14:52:45 -05:00 |
Sam Harwell
|
84e1025801
|
Remove extraneous ';' (empty statement), remove unnecessary null checks and dead code
|
2012-07-20 14:52:44 -05:00 |
Sam Harwell
|
3b9940b02a
|
Use isEmpty() instead of comparing size() with 0
|
2012-07-20 14:52:43 -05:00 |
Sam Harwell
|
2f0029a040
|
Improved handling of (potentially) null fields
|
2012-07-20 14:52:14 -05:00 |
Sam Harwell
|
4c4f767d17
|
Prevent NPE after reporting error
|
2012-07-20 14:52:13 -05:00 |
Sam Harwell
|
4c1e9b4119
|
Improve performance of equals
|
2012-07-20 14:51:55 -05:00 |
Sam Harwell
|
45e42d7243
|
Parameter to equals can be null
|
2012-07-20 14:51:54 -05:00 |
Sam Harwell
|
3a35f3cb08
|
Check object type in equals
|
2012-07-20 14:51:53 -05:00 |
Sam Harwell
|
8b4a461262
|
Merge branch 'ModelElement'
|
2012-07-18 16:14:14 -05:00 |
Sam Harwell
|
29d71acef9
|
Update documentation
|
2012-07-18 16:12:37 -05:00 |
Sam Harwell
|
589d6bf187
|
Remove field which hides another field with the same name; add check for this condition to OutputModelWalker
|
2012-07-18 16:06:33 -05:00 |
Sam Harwell
|
45815d97f7
|
Specifically test for the ModelElement annotation on fields (not just any annotation will do)
|
2012-07-18 16:06:32 -05:00 |
Sam Harwell
|
a37f8cf4f1
|
Add missing license notices
|
2012-07-18 15:57:48 -05:00 |
Terence Parr
|
f220212a95
|
couldn't get Horstmann's routine to do EPS not PS so had to backtrack.
|
2012-07-14 16:32:04 -07:00 |
Terence Parr
|
22bb947019
|
Merge branch 'master' of github.com:antlr/antlr4
|
2012-07-14 15:41:42 -07:00 |
Terence Parr
|
47362b2951
|
use Horstmann's PS save not mine; it'll handle Japanese char etc.. this way.
|
2012-07-14 15:38:33 -07:00 |
Sam Harwell
|
96654531b7
|
Use isEmpty() instead of size()==0, specify generic arguments
|
2012-07-13 14:33:42 -05:00 |
Sam Harwell
|
d626c4acd6
|
Simplify ParserRuleContext.toString
|
2012-07-13 14:26:56 -05:00 |
Terence Parr
|
683b915507
|
rm prints
|
2012-07-12 13:25:41 -07:00 |
Terence Parr
|
4923cb3874
|
reorg r : '...' ; matching. deals with -> cmds better (and more of em)
|
2012-07-12 13:25:18 -07:00 |
Terence Parr
|
de744f912a
|
allow A : '<' -> skip ; style token name/literal aliases.
|
2012-07-12 12:25:12 -07:00 |
Terence Parr
|
a3371ac9ea
|
rm unneeded override.
|
2012-07-09 17:32:20 -07:00 |
Terence Parr
|
9738658126
|
rm unneeded code to set line/charpos
|
2012-07-09 17:32:03 -07:00 |
Terence Parr
|
9a4227841d
|
-print -> -tree
|
2012-07-08 13:38:56 -07:00 |
Terence Parr
|
707ff615b4
|
tweak javadoc
|
2012-07-08 12:18:43 -07:00 |
Terence Parr
|
3b2c0a6177
|
fix bug in get hidden channel stuff. rewrote. update test.
|
2012-07-07 18:48:48 -07:00 |
Terence Parr
|
ec47251bb2
|
unbuffered release() can get markers in weird order since we reset p to beginning of buffer. Might mark at 1 and then at release p = 0 etc... Don't look for errors. Just reset earliestMarker if needed.
|
2012-07-04 11:32:41 -07:00 |
Terence Parr
|
00808ef11f
|
off by 1 error.
|
2012-07-03 13:44:44 -07:00 |
Terence Parr
|
d0e7e79b2b
|
make sure tokenNames puts tokens at right spot; didn't handle wholes in token type sequence.
|
2012-07-03 13:37:43 -07:00 |
Terence Parr
|
9455f5cd30
|
bug fix; .tokens didn't allow ' ' or 'a b'.
|
2012-07-03 13:15:35 -07:00 |
Terence Parr
|
2e9c449ec4
|
fix a few tests
|
2012-07-03 12:42:10 -07:00 |
Terence Parr
|
1d9aef0a5e
|
replace .tokens file parser with regex to avoid \t becoming tab char.
|
2012-07-03 12:40:36 -07:00 |
Terence Parr
|
6b6274b0c8
|
add type narrowed getters
|
2012-07-02 15:48:45 -07:00 |
Terence Parr
|
71bd16020f
|
Merge branch 'master' into nogenerics-in-error-listener-2nd-try
|
2012-07-02 12:45:48 -07:00 |
Terence Parr
|
111c44b3fd
|
add default ctor to Lexer
|
2012-07-02 12:45:30 -07:00 |