[ jedit-Patches-1572746 ] Refactored list of rules in ParserRuleSet

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jedit-Patches-1572746 ] Refactored list of rules in ParserRuleSet

SourceForge.net
Patches item #1572746, was opened at 2006-10-07 16:28
Message generated for change (Comment added) made by vampire0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1572746&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: general
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: daniel hahler (blueyed)
Assigned to: Björn Kautler (vampire0)
Summary: Refactored list of rules in ParserRuleSet

Initial Comment:
ParserRuleSet uses ruleMapFirst and ruleMapLast
(ParserRule[RULE_BUCKET_COUNT]) to handle the list of
containing ParserRules.
The problem with this is that the linking inside of the
lists is done through a "next" "pointer" in ParserRule
itself and it fails, when importing rules recursive.

The attached patch refactored this behaviour and uses a
HashMap of LinkedLists to handle the rules instead.

Additionally, it does recurse in
ParserRuleSet::resolveImports() and fixes therefor bug
"[ 1569735 ] IMPORTS in IMPORTS fail to get resolved
partly (hash-issue?)"
(http://sourceforge.net/tracker/index.php?func=detail&aid=1569735&group_id=588&atid=100588)


----------------------------------------------------------------------

>Comment By: Björn Kautler (vampire0)
Date: 2006-11-13 21:43

Message:
Logged In: YES
user_id=918212

applied in much modified form in SVN rev. 8026

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1572746&group_id=588

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Loading...