summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.c
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-04-14 00:48:31 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-04-14 00:48:31 -0400
commit3bdae5a385e198dcdbee2d37adac212d780fd380 (patch)
treec1a4736c077be6497ece129c49ea95930e4364b4 /tests/examplefiles/example.c
parent5cb22b30f482466d27cfd0a0023b59899a9497f4 (diff)
downloadpygments-3bdae5a385e198dcdbee2d37adac212d780fd380.tar.gz
Improve handling of labels
Allow labels to be followed by whitespace. Also remove the ':' from the label highlighting.
Diffstat (limited to 'tests/examplefiles/example.c')
-rw-r--r--tests/examplefiles/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examplefiles/example.c b/tests/examplefiles/example.c
index a7f546d1..7bf70149 100644
--- a/tests/examplefiles/example.c
+++ b/tests/examplefiles/example.c
@@ -195,7 +195,7 @@ char convertType(int type) {
case TYPE_INT: return 'I';
case TYPE_FLOAT: return 'F';
case TYPE_BOOLEAN: return 'Z';
- default: yyerror("compiler-intern error in convertType().\n");
+ default : yyerror("compiler-intern error in convertType().\n");
}
return 0; /* to avoid compiler-warning */
}