Rev 8649 | Rev 11736 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8649 | Rev 11125 | ||
---|---|---|---|
Line 271... | Line 271... | ||
271 | void __replace_space(char *p) |
271 | void __replace_space(char *p) |
272 | { |
272 | { |
273 | char *p1 ; |
273 | char *p1 ; |
274 | for(p1=p;*p1!=0; p1++) { |
274 | for(p1=p;*p1!=0; p1++) { |
275 | if(*p1=='\\' || isspace(*p1)) *p1=' ';// replace \ and all spaces by a simple space - |
275 | if(*p1=='\\' || isspace(*p1)) *p1=' ';// replace \ and all spaces by a simple space - |
276 | if(*p1=='\"') string_modify(p,p1,p1+1,"''"); |
276 | if(*p1=='\"') string_modify(p,p1,p1+1,"''"); |
- | 277 | p1++; // replace " by '' |
|
277 | } |
278 | } |
278 | } |
279 | } |
279 | 280 | ||
280 | /* Error-tolerante raw math translation routine |
281 | /* Error-tolerante raw math translation routine |
281 | * Translate error-laden raw math into machine-understandable form. |
282 | * Translate error-laden raw math into machine-understandable form. |