Skip to content

Commit

Permalink
Add class keyword to Class Types (#56)
Browse files Browse the repository at this point in the history
The class keyword was forgotten. This commit adds it to the possible
class types. This class type is mostly used to extend ExternalObject.
  • Loading branch information
phannebohm authored Jul 4, 2024
1 parent 2a541fa commit ecf903e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/metamodelica.tmGrammar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ patterns:
name: support.type

# Class Type
- begin: \b(record|type|package|function|uniontype)\s+(\w+)\s*("([^"]|\\")*(?<!\\)")?
- begin: \b(class|record|type|package|function|uniontype)\s+(\w+)\s*("([^"]|\\")*(?<!\\)")?
beginCaptures:
1:
name: keyword
Expand Down

0 comments on commit ecf903e

Please sign in to comment.