Skip to content

Improve comments in some syntax definitions (Part 2)

This is the continuation of !29 (merged)

Add ##Alerts and ##Modelines in all comments and add/fix the <comment .../> elements of the <comments> group.

For example, in the comment elements:

  • Add the region attribute in comment of type multiLine if it's missing. Folding in multiline comment is also added if missing.
  • Add the position attribute in comment of type singleLine in indentation-sensitive languages.
  • Remove duplicate comment elements, as only one type singleLine and multiLine are supported.

Also, in MAB-DB (mab.xml) and nesC (nesc.xml) some RegEx rules are substituted for optimization and in Mustache/Handlebars (mustache.xml) the Handlebars comments are used in the <comment .../> elements. In nesC a hard color (itemData Function) is removed.

Merge request reports