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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
SableCC STUPS
Commits
32b64243
Commit
32b64243
authored
3 years ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Replace remaining tab indents in generated code
parent
c13827a2
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
src/main/java/org/sablecc/sablecc/GenParser.java
+4
-4
4 additions, 4 deletions
src/main/java/org/sablecc/sablecc/GenParser.java
src/main/java/org/sablecc/sablecc/parser/Parser.java
+491
-491
491 additions, 491 deletions
src/main/java/org/sablecc/sablecc/parser/Parser.java
with
495 additions
and
495 deletions
src/main/java/org/sablecc/sablecc/GenParser.java
+
4
−
4
View file @
32b64243
...
...
@@ -509,7 +509,7 @@ public class GenParser extends DepthFirstAdapter
}
}
}
table
.
append
(
"
\t\t\t
{"
);
table
.
append
(
"
{"
);
table
.
append
(
"{"
+
-
1
+
", "
+
mostFrequentAction
+
", "
+
...
...
@@ -597,7 +597,7 @@ public class GenParser extends DepthFirstAdapter
}
}
table
.
append
(
"
\t\t\t
{"
);
table
.
append
(
"
{"
);
table
.
append
(
"{"
+
(-
1
)
+
", "
+
mostFrequent
+
"}, "
);
innerArray
.
addElement
(
new
int
[]
{-
1
,
mostFrequent
});
...
...
@@ -648,7 +648,7 @@ public class GenParser extends DepthFirstAdapter
outerArray
=
new
Vector
();
Vector
indexArray
=
new
Vector
();
index
.
append
(
"
\t\t\t
"
);
index
.
append
(
"
"
);
for
(
int
i
=
0
;
i
<
Grammar
.
action_
.
length
;
i
++)
{
StringBuffer
s
=
new
StringBuffer
();
...
...
@@ -679,7 +679,7 @@ public class GenParser extends DepthFirstAdapter
}
else
{
table
.
append
(
"
\t\t\t
\""
+
s
+
"\","
+
System
.
getProperty
(
"line.separator"
));
table
.
append
(
"
\""
+
s
+
"\","
+
System
.
getProperty
(
"line.separator"
));
outerArray
.
addElement
(
s
.
toString
());
errorIndex
.
put
(
s
.
toString
(),
nextIndex
);
indexArray
.
addElement
(
nextIndex
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/sablecc/sablecc/parser/Parser.java
+
491
−
491
View file @
32b64243
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