[geany/geany] d12222: Rename skipOverCComment() to cppSkipOverCComment()

Jiří Techet git-noreply at xxxxx
Sat Sep 10 07:26:26 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 07 Aug 2016 16:31:30 UTC
Commit:      d1222299020b7fb81e04e6441d900ac3a9b03ba0
             https://github.com/geany/geany/commit/d1222299020b7fb81e04e6441d900ac3a9b03ba0

Log Message:
-----------
Rename skipOverCComment() to cppSkipOverCComment()


Modified Paths:
--------------
    ctags/main/lcpp.c
    ctags/main/lcpp.h
    ctags/parsers/verilog.c

Modified: ctags/main/lcpp.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -458,7 +458,7 @@ static Comment isComment (void)
 /*  Skips over a C style comment. According to ANSI specification a comment
  *  is treated as white space, so we perform this substitution.
  */
-int skipOverCComment (void)
+int cppSkipOverCComment (void)
 {
 	int c = getcFromInputFile ();
 
@@ -686,7 +686,7 @@ extern int cppGetc (void)
 				const Comment comment = isComment ();
 
 				if (comment == COMMENT_C)
-					c = skipOverCComment ();
+					c = cppSkipOverCComment ();
 				else if (comment == COMMENT_CPLUS)
 				{
 					c = skipOverCplusComment ();


Modified: ctags/main/lcpp.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -45,7 +45,7 @@ extern void cppBeginStatement (void);
 extern void cppEndStatement (void);
 extern void cppUngetc (const int c);
 extern int cppGetc (void);
-extern int skipOverCComment (void);
+extern int cppSkipOverCComment (void);
 extern char *getArglistFromFilePos(MIOPos startPosition, const char *tokenName);
 extern char *getArglistFromStr(char *buf, const char *name);
 


Modified: ctags/parsers/verilog.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -140,7 +140,7 @@ static int vGetc (void)
 		}
 		else if (c2 == '*')  /* strip block comment */
 		{
-			c = skipOverCComment();
+			c = cppSkipOverCComment();
 		}
 		else
 		{



--------------
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