+filters (2.23) unstable; urgency=low
+
+ * Patch from Seneca <seneca-cunningham@rogers.com> to correct newspeak's
+ handling of double quotes preeceeded by punctuation and followed by a
+ blank line. Closes: #146769
+
+ -- Joey Hess <joeyh@debian.org> Sun, 19 May 2002 19:52:06 -0400
+
filters (2.22) unstable; urgency=low
* Something I already fixed in CVS, Closes: #124617
Priority: optional
Build-Depends: debhelper (>= 3), flex, bison | byacc | btyacc
Maintainer: Joey Hess <joeyh@debian.org>
-Standards-Version: 3.5.6.0
+Standards-Version: 3.5.6.1
Package: filters
Architecture: any
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
-
+#include <errno.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifdef __cplusplus
#include <stdlib.h>
+#ifndef _WIN32
#include <unistd.h>
+#endif
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
#line 11 "kraut.l"
char buf[128];
-#line 454 "lex.yy.c"
+#line 456 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
- && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" );
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }
#endif
/* No semi-colon after return; correct usage is to write "yyterminate();" -
#line 15 "kraut.l"
-#line 607 "lex.yy.c"
+#line 620 "lex.yy.c"
if ( yy_init )
{
#line 78 "kraut.l"
ECHO;
YY_BREAK
-#line 990 "lex.yy.c"
+#line 1003 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
}
+#ifndef _WIN32
+#include <unistd.h>
+#else
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif
+#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
if (14 == fcounter++) printf("(fnord) ");
}
-[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+1);
+[.,!?]\"([^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y0,yytext+2);
\"([.,!?][^\n\".!]+[.!])?\n/[\n\t ] printf("%c Hail Big Brother!\"%s",Y1,yytext+2);
. printf(yytext);