Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Schwarz
CUP Eclipse Plugin
Commits
cd6346e4
Commit
cd6346e4
authored
Feb 22, 2016
by
Michael Schwarz
🤔
Browse files
Works for first as well
parent
ffcbe160
Changes
1
Hide whitespace changes
Inline
Side-by-side
CupPlugin/src/de/tum/in/www2/cupplugin/views/ReduceReduceReorder.java
View file @
cd6346e4
...
...
@@ -82,6 +82,9 @@ public class ReduceReduceReorder {
}
if
(
index
==
0
){
//contains ::=
start
=
start
+
3
;
end
=
rhs
.
get
(
1
).
getRange
().
getBegin
().
getOffsetFromStart
();
pString
=
p
.
getName
().
name
+
" ::= "
+
document
.
get
(
start
,
end
-(
start
))
+
";"
;
toInsert
=
"\n\n//Separated and moved by CUP Eclipse plugin\n"
+
pString
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment