Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix issue 341: block comments in C lexer #13

Merged
merged 1 commit into from

2 participants

rekado Jeff Wheeler
rekado

Added a rule to cover C block comments that end on the very same line.

See this bug report:
http://code.google.com/p/yi-editor/issues/detail?id=341

Ricardo Wurmus fix issue 341 87c9765
Jeff Wheeler jeffwheeler merged commit 42a526f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 11, 2011
  1. fix issue 341

    Ricardo Wurmus authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  yi/src/library/Yi/Lexer/C.x
1  yi/src/library/Yi/Lexer/C.x
View
@@ -125,6 +125,7 @@ c :-
<0> {
"//"[^\n]* { c commentStyle }
+ "/*".*"*/" { c blockCommentStyle }
"/*" @reservedop* { m (subtract 1) blockCommentStyle }
Something went wrong with that request. Please try again.