- added basic enum support
This commit is contained in:
parent
2dba6368a5
commit
9c0873ae1a
@ -145,7 +145,7 @@ syntax keyword rpgleDclPiName *N
|
|||||||
" Prototype
|
" Prototype
|
||||||
syntax keyword rpgleError END-PR
|
syntax keyword rpgleError END-PR
|
||||||
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
|
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
|
||||||
\ keepend
|
\ keepend
|
||||||
\ start=/\<DCL-PR\>/
|
\ start=/\<DCL-PR\>/
|
||||||
\ end=/\(\<END-PR\>\|OVERLOAD\)/
|
\ end=/\(\<END-PR\>\|OVERLOAD\)/
|
||||||
\ contains=rpgleDclProp
|
\ contains=rpgleDclProp
|
||||||
@ -157,7 +157,13 @@ syntax keyword rpgleError LIKEDS LIKEREC END-DS
|
|||||||
syntax keyword rpgleError ;;
|
syntax keyword rpgleError ;;
|
||||||
|
|
||||||
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
|
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
|
||||||
\ keepend
|
\ keepend
|
||||||
|
\ start=/\<DCL-ENUM\>/
|
||||||
|
\ end=/\<END-ENUM\>/
|
||||||
|
\ contains=rpgleDclProp
|
||||||
|
|
||||||
|
syntax region rpgleDclSpec matchgroup=rpgleDclKeywords
|
||||||
|
\ keepend
|
||||||
\ start=/\<DCL-DS\>/
|
\ start=/\<DCL-DS\>/
|
||||||
\ end=/\<END-DS\>/
|
\ end=/\<END-DS\>/
|
||||||
\ contains=rpgleDclProp
|
\ contains=rpgleDclProp
|
||||||
|
Loading…
Reference in New Issue
Block a user