fixed a spelling error
This commit is contained in:
@@ -218,7 +218,7 @@ static void append() {
|
|||||||
yyerror("unable to allocate memory");
|
yyerror("unable to allocate memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Effeciently append the arg (with a leading space) */
|
/* Efficiently append the arg (with a leading space) */
|
||||||
s = yylval.string + string_len;
|
s = yylval.string + string_len;
|
||||||
*s++ = ' ';
|
*s++ = ' ';
|
||||||
(void) strcpy(s, yytext);
|
(void) strcpy(s, yytext);
|
||||||
|
@@ -496,7 +496,7 @@ static char *dotcat(s1, s2)
|
|||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
yyerror("unable to allocate memory");
|
yyerror("unable to allocate memory");
|
||||||
|
|
||||||
/* cat s1.s2 -> s effeciently */
|
/* cat s1.s2 -> s efficient */
|
||||||
(void) strcpy(s, s1);
|
(void) strcpy(s, s1);
|
||||||
*(s + len1) = '.';
|
*(s + len1) = '.';
|
||||||
(void) strcpy(s + len1 + 1, s2);
|
(void) strcpy(s + len1 + 1, s2);
|
||||||
|
Reference in New Issue
Block a user