nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix syntax highlighting regex of C labels


From: Hussam al-Homsi
Subject: [PATCH] Fix syntax highlighting regex of C labels
Date: Fri, 12 Mar 2021 17:58:29 -0500

With this patch, a valid label like label1 in the following C code will now be highlighted:

#include <stdio.h>

int main(void) {
goto label1;
puts("skipped"); label1 : puts("reached");
}

The changes that enable this are described in the attached patch.

Attachment: 0001-Fix-syntax-highlighting-regex-of-C-labels.patch
Description: Source code patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]