Terence Parr
|
6a26f0499f
|
a new test
|
2013-09-09 15:17:27 -07:00 |
Terence Parr
|
95aa103dc2
|
matches text now if not <ID> node
|
2013-09-09 15:13:37 -07:00 |
Terence Parr
|
f995e47443
|
rm ruletag from ParserRuleContext; back to (expr <expr>) for tag in pattern
|
2013-09-09 14:54:44 -07:00 |
Terence Parr
|
94d3c71b02
|
rm unneeded IF check
|
2013-09-09 14:47:02 -07:00 |
Terence Parr
|
90187039f0
|
foo
|
2013-09-09 14:45:46 -07:00 |
Terence Parr
|
0df4411ea7
|
got optimized tree back with <expr> as single node
|
2013-09-09 13:50:33 -07:00 |
Terence Parr
|
7ead36fb4b
|
fix error handling to just match <expr> as token under expr RuleNode
|
2013-09-08 19:10:04 -07:00 |
Terence Parr
|
cfac804b57
|
fix error handling to just match <expr> as token under expr RuleNode
|
2013-09-08 18:56:07 -07:00 |
Terence Parr
|
b1c4c77d28
|
tweak
|
2013-09-05 17:16:43 -07:00 |
Terence Parr
|
754348605d
|
create match object for matching
|
2013-09-05 16:58:37 -07:00 |
Terence Parr
|
35e279cef1
|
change name from T.g4 to X.g4 to avoid weird classloader issue. TLexer lives somewhere in my damn system and I can't find it.
|
2013-09-05 10:35:20 -07:00 |
Terence Parr
|
d2f7ba8339
|
cleanup
|
2013-09-04 17:25:14 -07:00 |
Terence Parr
|
4b87f84b99
|
got decent test rig
|
2013-09-04 17:09:14 -07:00 |
Terence Parr
|
731b0f6528
|
damn intellij
|
2013-09-04 14:51:04 -07:00 |
Terence Parr
|
531c31861a
|
got basic pattern compilation going
|
2013-09-04 14:48:21 -07:00 |
Terence Parr
|
56cd7cdf2c
|
split apart
|
2013-09-04 12:37:04 -07:00 |
Terence Parr
|
5f60ad859e
|
stash
|
2013-09-04 10:15:22 -07:00 |
Terence Parr
|
1070d3a10f
|
improved tag matching, got escapes working.
|
2013-09-03 18:32:54 -07:00 |
Terence Parr
|
d4316ff44b
|
ah. stupid intellij didn't submit
|
2013-09-02 18:21:21 -07:00 |
Terence Parr
|
b4a7ace911
|
got decent start
|
2013-09-02 18:20:58 -07:00 |
Terence Parr
|
3416f6db05
|
playing with initial matcher
|
2013-09-01 15:43:50 -07:00 |
Terence Parr
|
6d1d0e0488
|
Merge pull request #329 from parrt/master
Lots of little fixes thanks to Coverity Scan
|
2013-08-31 17:50:25 -07:00 |
Terence Parr
|
bb1354b522
|
add note about Coverity cleanup.
|
2013-08-31 17:47:34 -07:00 |
Terence Parr
|
2aade3eecc
|
avoid resource leak and cleanup (Coverity)
|
2013-08-31 17:46:23 -07:00 |
Terence Parr
|
fc2dfcda96
|
dodgy code cleanup (Coverity)
|
2013-08-31 17:36:16 -07:00 |
Terence Parr
|
ba6c711e85
|
avoid resource leak upon write() exception (Coverity)
|
2013-08-31 17:31:17 -07:00 |
Terence Parr
|
be0d6b3fce
|
clean up equals/hashcode for Interval (Coverity)
|
2013-08-31 17:25:32 -07:00 |
Terence Parr
|
d22290d44f
|
consistent return of null for empty DFA (Coverity)
|
2013-08-31 17:20:00 -07:00 |
Terence Parr
|
a7a2050fd2
|
rm dead code (Coverity)
|
2013-08-31 17:19:12 -07:00 |
Terence Parr
|
d0b9e7388c
|
change cast to null chk (Coverity)
|
2013-08-31 17:08:25 -07:00 |
Terence Parr
|
3e53c0c61d
|
oops; deleted side-effecting "dead code"
|
2013-08-31 17:05:48 -07:00 |
Terence Parr
|
78298bb382
|
defined compareTo but not equals/hash (Coverity)
|
2013-08-31 16:56:07 -07:00 |
Terence Parr
|
875fa0a31d
|
rm dead code (Coverity)
|
2013-08-31 16:52:07 -07:00 |
Terence Parr
|
8bff26d758
|
fix cut-paste error (Coverity)
|
2013-08-31 16:47:33 -07:00 |
Terence Parr
|
21248a42ca
|
rm unneeded null ptr check (Coverity)
|
2013-08-31 16:37:16 -07:00 |
Terence Parr
|
1febc36e15
|
avoid potential null ptr deref (Coverity)
|
2013-08-31 16:32:59 -07:00 |
Terence Parr
|
9420672520
|
make explicit that graphs must be EmptyContext, never null (Coverity)
|
2013-08-31 16:29:40 -07:00 |
Terence Parr
|
0ac47437bc
|
rm potential null ptr deref (Coverity)
|
2013-08-31 16:20:34 -07:00 |
Terence Parr
|
d4f2abc5e3
|
resource leak fix from Coverity Scan
|
2013-08-31 13:01:53 -07:00 |
Terence Parr
|
9c186c8d52
|
rm print statement
|
2013-08-31 12:20:57 -07:00 |
Terence Parr
|
b411ccaaa4
|
Merge pull request #327 from parrt/master
fix null ptr exception as reported by Coverity
|
2013-08-29 17:12:45 -07:00 |
Terence Parr
|
68723eff20
|
fix null ptr exception as reported by Coverity
|
2013-08-29 17:11:52 -07:00 |
Terence Parr
|
a4a957a316
|
Merge pull request #323 from cayhorstmann/patch-1
Update contributors.txt
|
2013-08-20 17:01:00 -07:00 |
cayhorstmann
|
f138278cbc
|
Update contributors.txt
|
2013-08-20 16:52:37 -07:00 |
Sam Harwell
|
62acd30eca
|
Merge pull request #318 from sharwell/test-315
Add regression test for #315 (already passes)
|
2013-08-12 17:28:08 -07:00 |
Sam Harwell
|
04d2b5b92d
|
Add regression test for #315 (already passes)
|
2013-08-12 19:26:40 -05:00 |
Terence Parr
|
2637d64320
|
Merge pull request #314 from parrt/reorg-left-recur-elim
Reorg left recur elim
|
2013-08-08 16:13:49 -07:00 |
Terence Parr
|
19fce5dd7d
|
change ruleElementOption back to elementOption
|
2013-08-08 16:12:01 -07:00 |
Terence Parr
|
531afe5af8
|
changed grammar to allow <assoc=right> on | operator for alt. still allowed on token refs but ignored. Simplified left-recursion elemination rules. see CHANGES.TXT Aug 7, 2013. BREAKING CHANGE. Must alter ternary op alts in grammars.
|
2013-08-08 17:06:15 -05:00 |
Terence Parr
|
185ee4e18e
|
add <options> notation to alt right after pipe. rename elementOption to ruleElementOption as it now can match options on alt. Move AltAST to have options.
|
2013-08-08 17:06:15 -05:00 |