Advertisement
Guest User

Recursion of Address_Match_List

a guest
Apr 7th, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.57 KB | None | 0 0
  1. syn match xyz_Semicolon contained /;/ skipwhite skipempty
  2. \ containedin=xyz_AML
  3.  
  4. syn match xyz_Number contained "\<\d\{1,10}\>" skipwhite skipempty
  5. \ nextgroup=xyz_Semicolon
  6. \ containedin=xyz_AML
  7.  
  8. " { ... }  ;
  9. syn region xyz_AML contained start=+{+ end=+}+ skipwhite skipempty
  10. \ nextgroup=
  11. \    xyz_Number,
  12. \    xyz_Semicolon
  13.  
  14. " <acl_name> ( <number> | { ... } ) ;
  15. syn match xyz_ACLIdent contained /\<[0-9a-zA-Z\-_]\{1,63}\>/ skipwhite
  16. \ nextgroup=
  17. \    xyz_AML,
  18. \    xyz_Number
  19.  
  20. syn match xyz_Keywords /\_^\s*\<acl\>/ skipempty skipwhite
  21. \ nextgroup=xyz_ACLIdent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement