[BACK]Return to lex.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/lex.c between version 1.38 and 1.39

version 1.38, 2006/02/08 02:11:19 version 1.39, 2006/03/05 07:11:52
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.37 2005/12/10 14:14:16 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.38 2006/02/08 02:11:19 noro Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 537  int aftercomment() {
Line 537  int aftercomment() {
         int c,c1;          int c,c1;
   
         for ( c = Getc(); ; ) {          for ( c = Getc(); ; ) {
                   if ( c == '\n' ) asir_infile->ln++;
                 c1 = Getc();                  c1 = Getc();
                 if ( (c == '*') && (c1 == '/') )                  if ( (c == '*') && (c1 == '/') )
                         return Getc();                          return Getc();

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>