DSDL parser

This commit is contained in:
Pavel Kirienko
2014-03-01 23:13:26 +04:00
parent 1f7054b6ca
commit 954b3e4bf3
12 changed files with 572 additions and 0 deletions
@@ -0,0 +1,6 @@
#
# Test file
#
root_b.TypeInRootB type_in_root_b
root_a.ns2.TypeInNs2[<256] type_in_ns_2
@@ -0,0 +1,17 @@
#
# Deliberately misformatted definition
#
root_a.TypeInRootA[<23] type_in_root_a
float64 CONST = 3.141592653589793 # 123
float64[<1024] huge_array
bool a
int2 a_
---
bool ok
uint7[<=128] optional_error_message
@@ -0,0 +1,6 @@
int32 int32
truncated int2 truncated
saturated bool A = false
truncated bool B = true
bool C
bool c