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
4d083e9a
Commit
4d083e9a
authored
May 15, 2024
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Preserve capitalization in generated Parser local variable names
parent
b7327c5f
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/GenerateAlternativeCodeForParser.java
+1
-1
1 addition, 1 deletion
...org/sablecc/sablecc/GenerateAlternativeCodeForParser.java
src/main/java/org/sablecc/sablecc/parser/Parser.java
+1304
-1304
1304 additions, 1304 deletions
src/main/java/org/sablecc/sablecc/parser/Parser.java
with
1305 additions
and
1305 deletions
src/main/java/org/sablecc/sablecc/GenerateAlternativeCodeForParser.java
+
1
−
1
View file @
4d083e9a
...
...
@@ -92,7 +92,7 @@ public class GenerateAlternativeCodeForParser extends DepthFirstAdapter
}
else
{
return
typeName
.
toLowerCase
(
)
+
"Node"
+
position
;
return
typeName
.
substring
(
0
,
1
).
toLowerCase
()
+
typeName
.
substring
(
1
)
+
"Node"
+
position
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/sablecc/sablecc/parser/Parser.java
+
1304
−
1304
View file @
4d083e9a
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
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