Skip to content

Commit ef7e60b

Browse files
committed
Enum works again
1 parent 2ae6ba7 commit ef7e60b

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ repository:
1616
- include: "#labels" # Handle labels first so they aren't handled by lines.
1717
- include: "#methodSignature"
1818
- include: "#continuations" # Consume continuations so they "continue" other matches.
19+
- include: "#enum"
1920
- include: "#syntaxLines" # Split document lines into syntax lines.
2021

2122
continuations:
@@ -42,25 +43,12 @@ repository:
4243
match: ((?:[^\n":]|"(?:\\.|[^\n"\\])*")+|"(?:\\.|[^\n"\\])*")
4344
captures:
4445
1: # Split line
45-
# patterns:
46-
# - include: "#strings"
47-
# - include: "#syntaxLine"
48-
# 2: # Single syntax line.
4946
patterns:
5047
- include: "#main"
51-
# repository:
52-
# syntaxLine:
53-
# name: meta.syntax-line.vba
54-
# match: (?:(.*):)
55-
# captures:
56-
# 1:
57-
# patterns:
58-
# - include: "main"
5948

6049
main:
6150
patterns:
6251
- include: "#moduleHeader"
63-
- include: "#enum"
6452
- include: "#struct"
6553
- include: "#declareFunctionSignature"
6654
- include: "#methodSignature"

0 commit comments

Comments
 (0)