Follow-up Comment #7, patch #4970 (project mc): Gergely, any perceived flaws in the syntax highlighting code are no excuse for creating a faulty patch that obviously doesn't work with the ruleset.
Your patch adds an earlier match overriding the matching of the "default" keyword. This has nothing to do with flaws in the code. Anyway, solution might be to add possible whitespace to the "default" keyword. See attached patch. _______________________________________________________ Additional Item Attachment: File name: c.syntax.diff Size:0 KB Add labels without overruling \"default\" keyword. <http://savannah.gnu.org/patch/download.php?item_id=4970&item_file_id=6061> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?func=detailitem&item_id=4970> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel