comparison src/syntax.c @ 49971:afbb2d6d2f07

(back_comment): Only check nestedness of 2nd char if needed.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 25 Feb 2003 01:36:23 +0000
parents 23a1cea22d13
children 96dc22fa49d3
comparison
equal deleted inserted replaced
49970:b24aa35dff94 49971:afbb2d6d2f07
607 goto done; 607 goto done;
608 break; 608 break;
609 609
610 case Sendcomment: 610 case Sendcomment:
611 if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle 611 if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle
612 && (SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax) 612 && ((com2end && SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax))
613 || SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested) 613 || SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested)
614 /* This is the same style of comment ender as ours. */ 614 /* This is the same style of comment ender as ours. */
615 { 615 {
616 if (comnested) 616 if (comnested)
617 nesting++; 617 nesting++;