"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "libdap-3.8.2/tests/das-testsuite/test.1" of archive libdap-3.8.2.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1
2
3 # -*- C++ -*-
4 #
5 # This is a test of the das scanner and parser software. This file tests
6 # comments, attribute lists with missing parts, and multiple attribute
7 # lists (they should all coalesce into one attribute table.
8
9 attributes {# weird
10 var1 {#test
11 string name bob; # bob is the only name allowed
12 string type human; # for people ...
13 int32 age 19;
14 }
15 var2 {
16 string name joe;
17 string type dog;
18 int32 age 8;
19 }
20 }
21
22 # This is a C++ type comment.
23 # The scanner and parser should handle a text file with several
24 # attribute-definintion sections.
25
26 Attributes {
27 var3 {
28 int32 size 8;
29 string color red;
30 string type art;
31 }
32 var4 {
33 }
34 }
35
36 ATTRIBUTES {
37 var5 {
38 string height 5.0in.;
39 string units inches;
40 float64 max 5.0;
41 }
42 }
43
44 attributes {
45 }
46
47 attributes {
48 var5 {
49 string weight 100lbs;
50 string color red;
51 }
52 }
53 #
54 # EOF must be at the end of this line (not on the line after)