remove crufty comments which where used to support broken text editors

This commit is contained in:
rlar
2015-09-24 18:23:54 +02:00
parent a324d86878
commit 192eeadb0b
8 changed files with 24 additions and 25 deletions
+4 -4
View File
@@ -288,9 +288,9 @@ gettok(char **s)
return (NULL);
beg = *s ;
while ((c = **s) != '\0' && !isspace(c)) {
if (c == '('/*)*/)
if (c == '(')
paren += 1;
else if (c == /*(*/')')
else if (c == ')')
paren -= 1;
else if (c == ',' && paren < 1)
break;
@@ -325,9 +325,9 @@ gettok_iv(char **s)
// add v or i to buf
spice_dstring_append_char( &buf, *(*s)++ ) ;
while ((c = **s) != '\0') {
if (c == '('/*)*/)
if (c == '(')
paren += 1;
else if (c == /*(*/')')
else if (c == ')')
paren -= 1;
if (isspace(c))
(*s)++;