mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
2ffccc286f
Any valid name beginning with `#` that isn't already a preprocessor macro is now considered a freestanding macro. Previously, only preprocessor macros were handled in the vim syntax file, e.g. `#if`. For example, this properly handles the syntax for the `#expect` and the `#require` macros used in Swift Testing.