summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 360e250..f8b6c18 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1155,7 +1155,7 @@ BN [ \t\r\n]
ifcount++;
//printf("#if... depth=%d\n",ifcount);
}
-<SkipCommand>"else"/[^a-z_A-Z0-9] {
+<SkipCommand>"else" {
//printf("Else! ifcount=%d otherCaseDone=%d\n",ifcount,otherCaseDone());
if (ifcount==0 && !otherCaseDone())
{
@@ -1179,7 +1179,7 @@ BN [ \t\r\n]
}
}
}
-<SkipCommand>"endif"/[^a-z_A-Z0-9] {
+<SkipCommand>"endif" {
decrLevel();
if (--ifcount<0)
{