diff --git a/syntax/rpgle.vim b/syntax/rpgle.vim index 902b7fc..c1fd422 100644 --- a/syntax/rpgle.vim +++ b/syntax/rpgle.vim @@ -145,7 +145,7 @@ syntax keyword rpgleDclPiName *N " Prototype syntax keyword rpgleError END-PR syntax region rpgleDclSpec matchgroup=rpgleDclKeywords - \ keepend + \ keepend \ start=/\/ \ end=/\(\\|OVERLOAD\)/ \ contains=rpgleDclProp @@ -157,7 +157,13 @@ syntax keyword rpgleError LIKEDS LIKEREC END-DS syntax keyword rpgleError ;; syntax region rpgleDclSpec matchgroup=rpgleDclKeywords - \ keepend + \ keepend + \ start=/\/ + \ end=/\/ + \ contains=rpgleDclProp + +syntax region rpgleDclSpec matchgroup=rpgleDclKeywords + \ keepend \ start=/\/ \ end=/\/ \ contains=rpgleDclProp