Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Jastadd2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
Jastadd2
Commits
faf36d22
Commit
faf36d22
authored
5 years ago
by
idrissrio
Committed by
Jesper
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[parser] Improve handling of multiple interfaces in implements statement
fixes #324
parent
00eafbfe
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+5
-0
5 additions, 0 deletions
ChangeLog
src/javacc/jrag/Jrag.jjt
+4
-9
4 additions, 9 deletions
src/javacc/jrag/Jrag.jjt
with
9 additions
and
9 deletions
ChangeLog
+
5
−
0
View file @
faf36d22
...
@@ -11,6 +11,11 @@
...
@@ -11,6 +11,11 @@
* Fixed aspect parsing issue for Java 8 array constructor references.
* Fixed aspect parsing issue for Java 8 array constructor references.
See https://bitbucket.org/jastadd/jastadd2/issues/323/parsing-of-array-constructor-references
See https://bitbucket.org/jastadd/jastadd2/issues/323/parsing-of-array-constructor-references
2020-05-08 Idriss Riouak <idriss.riouak@cs.lth.se>
* Improve parsing of multiple interfaces in implements statement.
See https://bitbucket.org/jastadd/jastadd2/issues/324/parsing-after-implements
2019-11-29 Jesper Öqvist <jesper.oqvist@cs.lth.se>
2019-11-29 Jesper Öqvist <jesper.oqvist@cs.lth.se>
* Deprecated some old options: lazyMaps, private, traceVisitCheck,
* Deprecated some old options: lazyMaps, private, traceVisitCheck,
...
...
This diff is collapsed.
Click to expand it.
src/javacc/jrag/Jrag.jjt
+
4
−
9
View file @
faf36d22
...
@@ -1434,20 +1434,15 @@ void CollectionContribution():
...
@@ -1434,20 +1434,15 @@ void CollectionContribution():
void AspectAddInterface() :
void AspectAddInterface() :
{
{
Token first, last;
Token targetName;
Token targetName;
SimpleNode name
List
;
SimpleNode name;
}
}
{
{
targetName = <IDENTIFIER>
{ first = token; }
targetName = <IDENTIFIER>
"implements"
"implements"
nameList = TypeNameList()
name = ClassOrInterfaceType(){ root.addInterface(name, targetName.image, fileName); }
( "," name = ClassOrInterfaceType() { root.addInterface(name, targetName.image, fileName); } )*
";"
";"
{
last = token;
root.addInterface(nameList, targetName.image, fileName);
}
}
}
void AspectExtendInterface() :
void AspectExtendInterface() :
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment