[patch #4970] add label highlighting to c.syntax

Gergely Szász savannah-bounces at gnu.org
Sun Mar 19 09:09:24 UTC 2006


Follow-up Comment #6, patch #4970 (project mc):

Sorry Oswald, but i have to say: actually, the highlighting code sucks ;-)

Ok. if we change the rule to:
  keyword whole \{A...z\}\[0...z\]: cyan
it highlights the case labels and ( ... ? a: b) if 'a' and the colon does not
separated.

I do not know, why match the 'label' rule first, even the 'default:' rule is
earlier in the syntax file..? If I could remember, some time ago... the order
of rules cares... or does not?



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=4970>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




More information about the mc-devel mailing list