[geany/geany] 882687: C#: Don't ignore the character following an '@'

Colomban Wendling git-noreply at xxxxx
Sun Jun 14 16:27:17 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 14 Jun 2015 16:27:17 UTC
Commit:      882687ec37d41bcd74e07ab13ead45ce2141ecad
             https://github.com/geany/geany/commit/882687ec37d41bcd74e07ab13ead45ce2141ecad

Log Message:
-----------
C#: Don't ignore the character following an '@'

The character following an '@' was dropped if it didn't start a string
literal.

This could lead to unexpected problems if '@' was valid in other
situations.

X-Universal-CTags-Commit-ID: 2e62f475af1db08850447de46f56db14ce99d2eb


Modified Paths:
--------------
    tagmanager/ctags/get.c

Modified: tagmanager/ctags/get.c
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -726,6 +726,8 @@ extern int cppGetc (void)
 						c = skipToEndOfString (TRUE);
 						break;
 					}
+					else
+						fileUngetc (next);
 				}
 			enter:
 				Cpp.directive.accept = FALSE;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list