Nesting of HEADING is not allowed

The HEADING keyword may not be nested. Example:

default:
  heading
  heading

Put all headings after each other to correct this. Example:

default:
  heading
  endheading
  heading
  endheading 

See Also
Errors