diff --git a/CHANGELOG.md b/CHANGELOG.md index 39f295b5..48006f59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Adds support for .f18 and .F18 file extensions ([#252](https://github.com/krvajal/vscode-fortran-support/pull/252)) +### Fixed +- Fixed OpenMP syntax accidentally matching OpenACC (See [184](https://github.com/krvajal/vscode-fortran-support/issues/184#issuecomment-920139084)) + ## [2.3.0] ### Fixed diff --git a/syntaxes/openmp_lang.json b/syntaxes/openmp_lang.json index c53b0916..e0227f41 100644 --- a/syntaxes/openmp_lang.json +++ b/syntaxes/openmp_lang.json @@ -29,7 +29,7 @@ "patterns": [ { "name": "meta.openmp.directive", - "begin": "(?i)\\G(\\$(omp\\b)?&?)", + "begin": "(?i)\\G(\\$(omp\\b)&?)", "beginCaptures": { "1": { "name": "comment.directive.openmp" } }, "end": "(?=[\\n])", "patterns": [