         }
     ]
   }
+
+# Mark all tags that are not recognized as illegal
+  {
+    'match': '\\b\\w+::'
+    'name': 'invalid.illegal'
+  }
+# Mark hanging end tags
+  {
+    'match': '::'
+    'name': 'invalid.illegal'
+  }
+
 ]
 
 
-
-################ PYTHON STUFF TO REMOVE ###################
 
 
 

    'name': 'keyword.other.schelp'
  }

#METHOD TAGS
# inside the method definition, we can recognize other tags: argument, returns, discussion,
  {

            'name': 'storage.type.function.schelp'
        '2':
            'name': 'entity.name.function.schelp'
    'end': '((?i:(\\bSECTION::|\\bDESCRIPTION::|\\bINSTANCEMETHODS::|\\bCLASSMETHODS::|\\bEXAMPLES::|\\bSUBSECTION::)))'
    'endCaptures':
        '1':
            'name': 'keyword.other.schelp'
