Comments like "/***/" with odd number of asterisks are handled like normal comments now. Previously they were handled like unfinished comments.
Support for comments without opening "/*" at the beginning of the file is removed because people do not normally write comments backwards. --- config.def.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index ee6d4ae..823aa71 100644 --- a/config.def.h +++ b/config.def.h @@ -869,10 +869,10 @@ static Color colors[] = { /* common rules, used by multiple languages */ -#define SYNTAX_MULTILINE_COMMENT { \ - "(/\\*([^*]|\\*+[^*/])*\\*+/|/\\*([^*]|\\*[^/])*$|^([^/]|/[^*])*\\*/)", \ - &colors[COLOR_COMMENT], \ - true, /* multiline */ \ +#define SYNTAX_MULTILINE_COMMENT { \ + "(/\\*([^*]|\\*+[^*/])*\\*+/|/\\*([^*]|\\*+[^*/])*$)", \ + &colors[COLOR_COMMENT], \ + true, /* multiline */ \ } #define SYNTAX_SINGLE_LINE_COMMENT { \ -- 1.8.4