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
e617765c
Commit
e617765c
authored
1 year ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Throw exception in an impossible null case
parent
56e3ba8d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/sablecc/sablecc/GenerateAlternativeCodeForParser.java
+1
-2
1 addition, 2 deletions
...org/sablecc/sablecc/GenerateAlternativeCodeForParser.java
with
1 addition
and
2 deletions
src/main/java/org/sablecc/sablecc/GenerateAlternativeCodeForParser.java
+
1
−
2
View file @
e617765c
...
...
@@ -214,8 +214,7 @@ public class GenerateAlternativeCodeForParser extends DepthFirstAdapter
}
else
if
(
type_name
.
equals
(
"null"
))
{
type_name
=
"null"
;
type
=
"Object"
;
throw
new
RuntimeException
(
"Simple term has null type - this should never happen"
);
}
else
{
...
...
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