Misc. comment typos

This commit is contained in:
luz.paz
2018-01-13 11:37:30 -05:00
committed by Yorik van Havre
parent 8ba4e0c5d0
commit bbfbb0e7d3
3 changed files with 8 additions and 8 deletions

View File

@@ -1732,14 +1732,14 @@ double num_change(char* yytext,char dez_delim,char grp_delim)
char temp[40];
int i = 0;
for(char* c=yytext;*c!='\0';c++){
// skipp group delimiter
// skip group delimiter
if(*c==grp_delim) continue;
// check for a dez delimiter othere then dot
// check for a dez delimiter other then dot
if(*c==dez_delim && dez_delim !='.')
temp[i++] = '.';
else
temp[i++] = *c;
// check buffor overflow
// check buffer overflow
if (i>39) return 0.0;
}
temp[i] = '\0';