                 'name': 'entity.name.type.class.stata'
               }
             ]
+      }
+      {
+        'include': '#macro-local'
+      }
+      {
+        'include': '#macro-global'
       }
     ]
   'macro-local-escaped':

                'include': '#macro-global'
              }
            ]
            'name': 'entity.name.type.class.stata'
        'end': '\\n'
        'patterns': [
          {

            'name': 'keyword.macro.extendedfcn.stata'
      }
      {
        'match': '(word|piece)\\s+([\\s0-9`\'A-Za-z_]+)\\s+(of)'
        'captures':
          '1':
            'name': 'keyword.macro.extendedfcn.stata'
          '2':
            'patterns': [
              {
                'include': '#macro-local'
              }
              {
                'include': '#constants'
              }
            ]
          '3':
            'name': 'keyword.macro.extendedfcn.stata'
      }
