File: test.1

package info (click to toggle)
libdap 3.20.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 22,116 kB
  • sloc: cpp: 52,168; sh: 40,006; xml: 23,505; ansic: 20,020; yacc: 2,452; exp: 1,544; makefile: 1,068; lex: 305; perl: 52; fortran: 8
file content (54 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54


#  -*- C++ -*-
#
#    This is a test of the das scanner and parser software. This file tests
#    comments, attribute lists with missing parts, and multiple attribute
#    lists (they should all coalesce into one attribute table.

attributes {# weird
    var1 {#test
    	string name bob;	# bob is the only name allowed
	string type human;	# for people ... 
	int32 age 19;
    }
    var2 {
	string name joe;
	string type dog;   
	int32 age 8;
    }
}   

# This is a C++ type comment.
# The scanner and parser should handle a text file with several
# attribute-definintion sections.

Attributes {
    var3 {
    	int32 size 8;
	string color red;
	string type art;
    }
    var4 {
    }
}

ATTRIBUTES {
    var5 {
    	string height 5.0in.;
	string units inches;
	float64 max 5.0;
    }
}

attributes {
}

attributes {
    var5 {
	string weight 100lbs;
	string color red;
    }
}
#
# EOF must be at the end of this line (not on the line after)