[geany/geany] 61278d: Rename fileSkipToCharacter() to skipToCharacterInInputFile()

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


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sat, 30 Jul 2016 10:50:57 UTC
Commit:      61278d40314db93beab70377f593cce586e7f312
             https://github.com/geany/geany/commit/61278d40314db93beab70377f593cce586e7f312

Log Message:
-----------
Rename fileSkipToCharacter() to skipToCharacterInInputFile()


Modified Paths:
--------------
    ctags/main/read.c
    ctags/main/read.h
    ctags/parsers/go.c
    ctags/parsers/sql.c

Modified: ctags/main/read.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -504,7 +504,7 @@ extern int fileGetNthPrevC (unsigned int nth, int def)
 		return def;
 }
 
-extern int fileSkipToCharacter (int c)
+extern int skipToCharacterInInputFile (int c)
 {
 	int d;
 	do


Modified: ctags/main/read.h
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -108,7 +108,7 @@ extern boolean fileEOF (void);
 extern void fileClose (void);
 extern int getcFromInputFile (void);
 extern int fileGetNthPrevC (unsigned int nth, int def);
-extern int fileSkipToCharacter (int c);
+extern int skipToCharacterInInputFile (int c);
 extern void ungetcToInputFile (int c);
 extern const unsigned char *fileReadLine (void);
 extern char *readLine (vString *const vLine, MIO *const mio);


Modified: ctags/parsers/go.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -258,7 +258,7 @@ static void readToken (tokenInfo *const token)
 				switch (d)
 				{
 					case '/':
-						fileSkipToCharacter ('\n');
+						skipToCharacterInInputFile ('\n');
 						/* Line comments start with the
 						 * character sequence // and
 						 * continue through the next


Modified: ctags/parsers/sql.c
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -554,7 +554,7 @@ static void readToken (tokenInfo *const token)
 				  c = getcFromInputFile ();
 				  if (c == '-')		/* -- is this the start of a comment? */
 				  {
-					  fileSkipToCharacter ('\n');
+					  skipToCharacterInInputFile ('\n');
 					  goto getNextChar;
 				  }
 				  else
@@ -609,7 +609,7 @@ static void readToken (tokenInfo *const token)
 						  {
 							  do
 							  {
-								  fileSkipToCharacter ('*');
+								  skipToCharacterInInputFile ('*');
 								  c = getcFromInputFile ();
 								  if (c == '/')
 									  break;
@@ -620,7 +620,7 @@ static void readToken (tokenInfo *const token)
 						  }
 						  else if (d == '/')	/* is this the start of a comment?  */
 						  {
-							  fileSkipToCharacter ('\n');
+							  skipToCharacterInInputFile ('\n');
 							  goto getNextChar;
 						  }
 					  }
@@ -639,7 +639,7 @@ static void readToken (tokenInfo *const token)
 					  if (isKeyword (token, KEYWORD_rem))
 					  {
 						  vStringClear (token->string);
-						  fileSkipToCharacter ('\n');
+						  skipToCharacterInInputFile ('\n');
 						  goto getNextChar;
 					  }
 					  else if (isKeyword (token, KEYWORD_NONE))



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