Skip to content

Commit

Permalink
Java,refactor: Rename parseJavaAnnotation() to parseAtMarkStyleAnnota…
Browse files Browse the repository at this point in the history
…tion()
  • Loading branch information
ntrel committed Apr 29, 2023
1 parent 5057c10 commit 2f6af94
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parsers/c-based.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ static const keywordDesc KeywordTable [] = {
* FUNCTION PROTOTYPES
*/
static void createTags (const unsigned int nestLevel, statementInfo *const parent);
static void parseJavaAnnotation (statementInfo *const st);
static void parseAtMarkStyleAnnotation (statementInfo *const st);

/*
* FUNCTION DEFINITIONS
Expand Down Expand Up @@ -2125,7 +2125,7 @@ static bool skipPostArgumentStuff (
}
else if (isInputLanguage (Lang_d) && c == '@')
{
parseJavaAnnotation (st);
parseAtMarkStyleAnnotation (st);
}
}
if (! end)
Expand Down Expand Up @@ -2218,7 +2218,7 @@ static void processAngleBracket (void)
}
}

static void parseJavaAnnotation (statementInfo *const st)
static void parseAtMarkStyleAnnotation (statementInfo *const st)
{
/*
* @Override
Expand Down Expand Up @@ -2357,7 +2357,7 @@ static int parseParens (statementInfo *const st, parenInfo *const info)
default:
if (c == '@' && (isInputLanguage (Lang_d) || isInputLanguage (Lang_java)))
{
parseJavaAnnotation (st);
parseAtMarkStyleAnnotation (st);
}
else if (cppIsident1 (c))
{
Expand Down Expand Up @@ -2648,7 +2648,7 @@ static void parseGeneralToken (statementInfo *const st, const int c)
}
else if (c == '@' && (isInputLanguage (Lang_d) || isInputLanguage (Lang_java)))
{
parseJavaAnnotation (st);
parseAtMarkStyleAnnotation (st);
}
else if (c == STRING_SYMBOL) {
setToken(st, TOKEN_NONE);
Expand Down

0 comments on commit 2f6af94

Please sign in to comment.