comparison src/lex.l @ 3332:7c03933635c6

[project @ 1999-11-02 06:57:12 by jwe]
author jwe
date Tue, 02 Nov 1999 06:57:16 +0000
parents 7d80b56e0dc8
children 8623649c967c
comparison
equal deleted inserted replaced
3331:13cdcb7e5066 3332:7c03933635c6
739 // Include these so that we don't have to link to libfl.a. 739 // Include these so that we don't have to link to libfl.a.
740 740
741 #ifdef yywrap 741 #ifdef yywrap
742 #undef yywrap 742 #undef yywrap
743 #endif 743 #endif
744 static int 744 int
745 yywrap (void) 745 yywrap (void)
746 { 746 {
747 return 1; 747 return 1;
748 } 748 }
749 749
1530 have_continuation (bool trailing_comments_ok) 1530 have_continuation (bool trailing_comments_ok)
1531 { 1531 {
1532 ostrstream buf; 1532 ostrstream buf;
1533 1533
1534 bool in_comment = false; 1534 bool in_comment = false;
1535 char c; 1535 int c;
1536 while ((c = yyinput ()) != EOF) 1536 while ((c = yyinput ()) != EOF)
1537 { 1537 {
1538 buf << (char) c; 1538 buf << (char) c;
1539 1539
1540 switch (c) 1540 switch (c)