Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 341 by ricardo....@gmail.com: syntax colouring for block comments in C fails
http://code.google.com/p/yi-editor/issues/detail?id=341

What steps will reproduce the problem?
1. create a file 'test.c' with the following contents
   /***********/
   /* comment */
   /***********/

   int main() {
     return 0;
   }

2. open the file with yi

The code after the comment is coloured as if it were part of the comment. Inserting a space right before the last asterisk fixes the syntax colouring. The parser seems to expect comment blocks to end on a single asterisk followed by a slash.


Yi: 0.6.2.4
GHC: 6.12.3
Cabal: not installed
OS: Arch Linux (Linux 2.6.32-lts #1 SMP; x86_64 Intel(R) Xeon(R) CPU E5520 @ 2.27GHz GenuineIntel GNU/Linux)


--
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to