Menu

Bug in c language

2007-12-18
2012-11-13
  • Nobody/Anonymous

    if you have a #define that have more then one line you should put the "\" character in the end of the line to announce that the next line is a continue of the define, until now everything works fine.
    But if you have a comment in the define it kills the define and return you to regular c writing
    for example :
    #define avner(a,b,c)          \
    {                             \
      if (a==b)/*a and b equals*/ \
        c=b;                      \
    }
    the c=b is not colored as define and it make a real big mass with the {} close and so on

     
    • Garthex

      Garthex - 2007-12-18

      The actual syntax highlighting is handled by Scintilla. You should report the bug to them.