Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
b685e90c
Commit
b685e90c
authored
Jun 16, 2018
by
Alexander David Hellwig
Browse files
Fix: isIsBoolean -> isBoolean
parent
0a46be78
Pipeline
#55948
passed with stage
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/cpp/converter/TypeConverter.java
View file @
b685e90c
...
...
@@ -47,7 +47,7 @@ public class TypeConverter {
if
(
mathValueType
.
getDimensions
().
size
()
==
0
)
{
if
(
mathValueType
.
getType
().
isWholeNumber
())
{
return
"int"
;
//use int for now add range check if bigger number is required
}
else
if
(
mathValueType
.
getType
().
is
Is
Boolean
()){
}
else
if
(
mathValueType
.
getType
().
isBoolean
()){
return
"bool"
;
}
return
"double"
;
...
...
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