Updated generate-keywords script to support MAP and VECTOR properly

This commit is contained in:
Armando Rivera 2013-11-16 12:33:01 -05:00
parent bedc0b9dcc
commit 4e12a5bae8

View File

@ -3,10 +3,12 @@
# KEYWORDS # KEYWORDS
KEYWORDS=$(ack '#define (\w+.|\w+)' header.inc --output='$1')'\n' KEYWORDS=$(ack '#define (\w+.|\w+)' header.inc --output='$1')'\n'
KEYWORDS+=$(ack '^FUNCTION \w+ (\w+.|\w+)' runtime.inc --output='$1')'\n' KEYWORDS+=$(ack '^FUNCTION \w+ (\w+.|\w+)' runtime.inc --output='$1')'\n'
KEYWORDS+=$(ack '^FUNCTION \w+<\w+> (\w+.|\w+)' runtime.inc --output='$1')'\n'
KEYWORDS+=$(ack '^SUB (\w+)' runtime.inc --output='$1') KEYWORDS+=$(ack '^SUB (\w+)' runtime.inc --output='$1')
# FUNCTION/SUB PROTOTYPES # FUNCTION/SUB PROTOTYPES
PROTO=$(ack '^FUNCTION \w+ (.+\))' runtime.inc --output='$1')'\n' PROTO=$(ack '^FUNCTION \w+ (.+\))' runtime.inc --output='$1')'\n'
PROTO+=$(ack '^FUNCTION \w+<\w+> (.+\))' runtime.inc --output='$1')'\n'
PROTO+=$(ack '^SUB (.+\))' runtime.inc --output='$1') PROTO+=$(ack '^SUB (.+\))' runtime.inc --output='$1')
# #