Updated Keywords.txt and generate-keywords script
This commit is contained in:
parent
8a50aa7ace
commit
5faed27d05
@ -1,4 +1,4 @@
|
||||
ADDRESS
|
||||
ADDR
|
||||
AND
|
||||
AS
|
||||
BEGIN
|
||||
@ -9,14 +9,19 @@ CASE
|
||||
CASE_ELSE
|
||||
CHAR
|
||||
CLASS
|
||||
CLASS
|
||||
CONSTANT
|
||||
CONSTRUCTOR
|
||||
DECLARE
|
||||
DECR
|
||||
DIM
|
||||
DO
|
||||
ELSE
|
||||
ENC$
|
||||
END
|
||||
ENDCASE
|
||||
ENDCLASS
|
||||
ENDCONSTRUCTOR
|
||||
ENDENUM
|
||||
ENDFUNCTION
|
||||
ENDIF
|
||||
@ -45,7 +50,7 @@ NEXT
|
||||
NOT
|
||||
OR
|
||||
PRINT
|
||||
PRIOR
|
||||
PTR
|
||||
REPLACE$
|
||||
RETURN
|
||||
RIGHT$
|
||||
|
@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# KEYWORDS
|
||||
KEYWORDS=$(ack '#define (\w+.|\w+)' cppbas.inc --output='$1')
|
||||
KEYWORDS+=$(ack '^FUNCTION \w+ (\w+.|\w+)' cppbasrt.inc --output='$1')
|
||||
KEYWORDS+='\n'$(ack '^SUB (\w+)' cppbasrt.inc --output='$1')
|
||||
KEYWORDS=$(ack '#define (\w+.|\w+)' header.inc --output='$1')
|
||||
KEYWORDS+=$(ack '^FUNCTION \w+ (\w+.|\w+)' runtime.inc --output='$1')
|
||||
KEYWORDS+='\n'$(ack '^SUB (\w+)' runtime.inc --output='$1')
|
||||
|
||||
# FUNCTION/SUB PROTOTYPES
|
||||
PROTO=$(ack '^FUNCTION \w+ (.+\))' cppbasrt.inc --output='$1')' '
|
||||
PROTO+='\n'$(ack '^SUB (.+\))' cppbasrt.inc --output='$1')
|
||||
PROTO=$(ack '^FUNCTION \w+ (.+\))' runtime.inc --output='$1')' '
|
||||
PROTO+='\n'$(ack '^SUB (.+\))' runtime.inc --output='$1')
|
||||
#
|
||||
|
||||
# SAVE SORTED KEYWORDS/PROTOTYPES
|
||||
|
Loading…
Reference in New Issue
Block a user