Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SableCC STUPS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
SableCC STUPS
Commits
cbf87d48
Commit
cbf87d48
authored
11 months ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Re-add PositionedNode copy constructor for better backward compatibility
parent
f40594dd
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#138164
passed
11 months ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sablecc-runtime/src/main/java/de/hhu/stups/sablecc/patch/PositionedNode.java
+5
-0
5 additions, 0 deletions
.../main/java/de/hhu/stups/sablecc/patch/PositionedNode.java
with
5 additions
and
0 deletions
sablecc-runtime/src/main/java/de/hhu/stups/sablecc/patch/PositionedNode.java
+
5
−
0
View file @
cbf87d48
...
...
@@ -19,6 +19,11 @@ public class PositionedNode {
this
(
null
,
null
);
}
@Deprecated
public
PositionedNode
(
final
PositionedNode
node
)
{
this
(
node
.
startPos
,
node
.
endPos
);
}
/**
* Copies the {@link SourcePosition}s from the given node to this node.
* This is an internal helper method for use in {@link Object#clone()} implementations.
...
...
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