Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
1f0bbb05
Commit
1f0bbb05
authored
Jun 30, 2020
by
Maxime Perrotin
Browse files
Fix typo in C generator
parent
4d4e6027
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/CGenerator.py
View file @
1f0bbb05
...
...
@@ -1020,7 +1020,7 @@ def _transition(tr, **kwargs):
if
tr
.
terminator
.
next_id
==
-
1
:
if
tr
.
terminator
.
return_expr
:
return_stmt
,
return_string
,
return_decls
=
expression
(
tr
.
terminator
.
return_expr
)
stmts
.
extend
(
return_stmt
s
)
stmts
.
extend
(
return_stmt
)
decls
.
extend
(
return_decls
)
stmts
.
append
(
'return{};'
.
format
(
' '
+
return_string
if
return_string
else
''
))
else
:
...
...
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