diff Resources/CodeGeneration/test_data/test1.yaml @ 628:84af39146e76 am-dev

CodeGeneration: support default values
author Alain Mazy <alain@mazy.be>
date Wed, 08 May 2019 16:32:57 +0200
parents fc17251477d6
children 0d42bda615a8
line wrap: on
line diff
--- a/Resources/CodeGeneration/test_data/test1.yaml	Wed May 08 10:51:41 2019 +0200
+++ b/Resources/CodeGeneration/test_data/test1.yaml	Wed May 08 16:32:57 2019 +0200
@@ -24,7 +24,7 @@
   d: bool
 
 struct Message2:
-  toto: string
+  toto: string = "my-default-value"
   tata: vector<Message1>
   tutu: vector<string>
   titi: map<string, string>