summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2012-05-17 09:10:44 (EDT)
committertjung2012-05-17 09:10:44 (EDT)
commit5e9994971f573ff48a9f0cf146e17c429156ad2f (patch)
treea64879bcae3cb9829d87f91a3b2a0e2f062e3ce3
parentd854a849b32f81814ca61623a38cee2cca417b8e (diff)
downloadorg.eclipse.etrice-5e9994971f573ff48a9f0cf146e17c429156ad2f.zip
org.eclipse.etrice-5e9994971f573ff48a9f0cf146e17c429156ad2f.tar.gz
org.eclipse.etrice-5e9994971f573ff48a9f0cf146e17c429156ad2f.tar.bz2
[generator.c.test] CTypes fixed for abstract execution
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room b/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
index 9ba7311..c079c05 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
+++ b/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
@@ -1,21 +1,21 @@
RoomModel room.basic.types.c {
- PrimitiveType boolean -> boolean default "FALSE"
- PrimitiveType char -> char default "0"
- PrimitiveType int8 -> int8 default "0"
- PrimitiveType int16 -> int16 default "0"
- PrimitiveType int32 -> int32 default "0"
- PrimitiveType int64 -> int64 default "0"
+ PrimitiveType boolean: ptBoolean -> boolean default "FALSE"
+ PrimitiveType char: ptCharacter -> char default "0"
+ PrimitiveType int8: ptInteger -> int8 default "0"
+ PrimitiveType int16: ptInteger -> int16 default "0"
+ PrimitiveType int32: ptInteger -> int32 default "0"
+ PrimitiveType int64: ptInteger -> int64 default "0"
- PrimitiveType uint8 -> uint8 default "0"
- PrimitiveType uint16 -> uint16 default "0"
- PrimitiveType uint32 -> uint32 default "0"
- PrimitiveType uint64 -> uint64 default "0"
+ PrimitiveType uint8: ptInteger -> uint8 default "0"
+ PrimitiveType uint16: ptInteger -> uint16 default "0"
+ PrimitiveType uint32: ptInteger -> uint32 default "0"
+ PrimitiveType uint64: ptInteger -> uint64 default "0"
- PrimitiveType float32 -> float32 default "0"
- PrimitiveType float64 -> float64 default "0"
+ PrimitiveType float32:ptReal -> float32 default "0"
+ PrimitiveType float64:ptReal -> float64 default "0"
// TODO: define strings for C
- PrimitiveType charPtr -> charPtr default "0"
- PrimitiveType string -> charPtr default "0"
+ PrimitiveType charPtr:ptCharacter -> charPtr default "0"
+ PrimitiveType string:ptCharacter -> charPtr default "0"
} \ No newline at end of file