Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-compiler-and-rts
compiler
Commits
1f9b8f3b
Commit
1f9b8f3b
authored
Oct 16, 2001
by
Ronny Wichers Schreur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't add arguments to fail node
parent
d5b056b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
backendC/CleanCompilerSources/statesgen.c
backendC/CleanCompilerSources/statesgen.c
+2
-0
No files found.
backendC/CleanCompilerSources/statesgen.c
View file @
1f9b8f3b
...
...
@@ -3112,6 +3112,8 @@ static NodeP add_argument_to_node (NodeP rhs_root_p,NodeIdP new_node_id_p)
root_symbol_p
=
rhs_root_p
->
node_symbol
;
if
(
root_symbol_p
->
symb_kind
==
if_symb
&&
rhs_root_p
->
node_arity
==
3
)
return
add_argument_to_if_node
(
rhs_root_p
,
new_node_id_p
);
else
if
(
root_symbol_p
->
symb_kind
==
fail_symb
)
return
rhs_root_p
;
else
if
(
get_symbol_arity_or_zero
(
root_symbol_p
)
>
rhs_root_p
->
node_arity
){
ArgP
*
last_rhs_arg_h
;
...
...
Write
Preview
Markdown
is supported
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