Home | History | Annotate | Line # | Download | only in lint1
lex_comment.c revision 1.1
      1  1.1  rillig /*	$NetBSD: lex_comment.c,v 1.1 2021/06/19 20:25:58 rillig Exp $	*/
      2  1.1  rillig # 3 "lex_comment.c"
      3  1.1  rillig 
      4  1.1  rillig /*
      5  1.1  rillig  * Before lex.c 1.41 from 2021-06-19, lint ran into an endless loop when it
      6  1.1  rillig  * saw an unclosed comment at the end of the translation unit.  In practice
      7  1.1  rillig  * this was not relevant since the translation unit always comes from the C
      8  1.1  rillig  * preprocessor, which always emits a well-formed token sequence.
      9  1.1  rillig  */
     10  1.1  rillig 
     11  1.1  rillig /* expect+3: error: unterminated comment [256] */
     12  1.1  rillig /* expect+2: warning: empty translation unit [272] */
     13  1.1  rillig /* unclosed comment
     14