Mercurial > hg > CbC > old > device
comparison mc-macro.c @ 614:e4e007f4026d
fix #deifne /* line
author | kono |
---|---|
date | Tue, 30 May 2006 21:36:03 +0900 |
parents | af6b9ae79583 |
children | 4e08fbf6754b |
comparison
equal
deleted
inserted
replaced
613:3b9e0e59ab97 | 614:e4e007f4026d |
---|---|
664 cheap->ptr--; | 664 cheap->ptr--; |
665 *cheap->ptr = '\0'; | 665 *cheap->ptr = '\0'; |
666 while(*chptr++); break; | 666 while(*chptr++); break; |
667 } else if (c=='/'&&chptr[0]=='*') { | 667 } else if (c=='/'&&chptr[0]=='*') { |
668 cheap->ptr--; chptr++; | 668 cheap->ptr--; chptr++; |
669 while((c = *chptr++)) { | 669 for(;;) { |
670 c = *chptr++; | |
671 if (!c) { | |
672 getline(); | |
673 continue; | |
674 } | |
670 if (c=='*'&&chptr[0]=='/') { | 675 if (c=='*'&&chptr[0]=='/') { |
671 c = *chptr++; break; | 676 c = *chptr++; break; |
672 } | 677 } |
673 } | 678 } |
674 if (!c) break; | 679 if (!c) break; |