summaryrefslogtreecommitdiff
path: root/generateexportedsymbols.awk
blob: 1d9b200d2361525df0da2437c7595e6dd0cdf0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ 
	# Remove the CR character in case the sources are mapped from
	# a Windows share and contain CRLF line endings
	gsub(/\r/,"", $0);

	# Skip empty lines and comment lines starting with semicolon
	if (NF && !match($0, /^[:space:]*;/))
	{
		print "_"  $0;
	}
}