- added basic enum support

This commit is contained in:
Erik Mertens 2024-04-24 10:24:55 +02:00
parent 2dba6368a5
commit 9c0873ae1a

View File

@ -145,7 +145,7 @@ syntax keyword rpgleDclPiName *N
" Prototype
syntax keyword rpgleError END-PR
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
\ keepend
\ keepend
\ start=/\<DCL-PR\>/
\ end=/\(\<END-PR\>\|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=/\<DCL-ENUM\>/
\ end=/\<END-ENUM\>/
\ contains=rpgleDclProp
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
\ keepend
\ start=/\<DCL-DS\>/
\ end=/\<END-DS\>/
\ contains=rpgleDclProp