summaryrefslogtreecommitdiff
path: root/support/get_type_attr_decl.sed
blob: a113f217cd1b9b3effeb86860f0aa585e83e5008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#n
# print out type and attribute declarations that
# are not inside require and optional blocks.

/require \{/,/} # end require/b nextline
/optional \{/,/} # end optional/b nextline

/^[[:blank:]]*(attribute|type(alias)?|bool) /{
	s/^[[:blank:]]+//
	p
}

:nextline