Skip to content

Commit

Permalink
Merge pull request #762 from damieng/master
Browse files Browse the repository at this point in the history
Allow comments after preprocessor
  • Loading branch information
DustinCampbell authored Sep 23, 2016
2 parents d2f1f7b + 39d9af3 commit 3e8299f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/csharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@
"name": "entity.name.function.preprocessor.cs"
}
},
"match": "^\\s*#\\s*(if|else|elif|endif|define|undef|warning|error|line|pragma|region|endregion)\\b\\s*(.*)",
"match": "^\\s*#\\s*(if|else|elif|endif|define|undef|warning|error|line|pragma|region|endregion)\\b\\s*(.*?)(?=$|\\/\\/)",
"name": "meta.preprocessor.cs"
}
]
Expand Down

0 comments on commit 3e8299f

Please sign in to comment.