Skip to content

Commit 8d950a8

Browse files
committed
Vera: revise the dataflow of cppGetc -> vStringPut
Close #3771. Did the same as #3796. Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 6667c46 commit 8d950a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

parsers/vera.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ static void skipToMatch (const char *const pair)
11321132
while (matchLevel > 0 && (c = skipToNonWhite ()) != EOF)
11331133
{
11341134
if (CollectingSignature)
1135-
vStringPut (Signature, c);
1135+
cppVStringPut (Signature, c);
11361136
if (c == begin)
11371137
{
11381138
++matchLevel;
@@ -1230,11 +1230,11 @@ static void readIdentifier (tokenInfo *const token, const int firstChar)
12301230

12311231
do
12321232
{
1233-
vStringPut (name, c);
1233+
cppVStringPut (name, c);
12341234
if (CollectingSignature)
12351235
{
12361236
if (!first)
1237-
vStringPut (Signature, c);
1237+
cppVStringPut (Signature, c);
12381238
first = false;
12391239
}
12401240
c = cppGetc ();
@@ -1581,7 +1581,7 @@ static int parseParens (statementInfo *const st, parenInfo *const info)
15811581
do
15821582
{
15831583
int c = skipToNonWhite ();
1584-
vStringPut (Signature, c);
1584+
cppVStringPut (Signature, c);
15851585

15861586
switch (c)
15871587
{

0 commit comments

Comments
 (0)