Package: flex Version: 2.5.37 Maintainer: Manoj Srivastava <sriva...@debian.org> Description: Multiple <<EOF>>'s are not supported as per Section 12
End_Of_File Rules. Example 1 demonstrates that multiple <<EOF>>'s are supported if each <<EOF>> is prefixed with a start condition. Example 2 shows what happens if each <<EOF>> is not prefixed with a start condition. Example 3 from Section 12 specifically allows Example 2. Please address this as a code change and not a documentation change. thanks art aschw...@acm.org --------- Example 1 --------- %x EOLCOMMENT %% <INITIAL><<EOF>> return 0; <EOLCOMMENT>{ .** \n <<EOF>> BEGIN(INITIAL); } /* <EOLCOMMENT> */ --------- Example 2 --------- %x EOLCOMMENT %% <<EOF>> return 0; <EOLCOMMENT>{ .** \n <<EOF>> BEGIN(INITIAL); } /* <EOLCOMMENT> */ lex:9: multiple <<EOF>> rules for start condition EOLCOMMENT --------- Example 3 --------- %x quote %% ...other rules for dealing with quotes... <quote><<EOF>> { error( "unterminated quote" ); yyterminate(); } <<EOF>> { if ( *++filelist ) yyin = fopen( *filelist, "r" ); else yyterminate(); } -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org