Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/scripts/kconfig/lex.zconf.c_shipped

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 815 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 784  void new_string(void) Line 784  void new_string(void)
784  void append_string(const char *str, int size)  void append_string(const char *str, int size)
785  {  {
786   int new_size = text_size + size + 1;   int new_size = text_size + size + 1;
787     if (size > 70) {
788     fprintf (stderr, "%s:%d error: Overlong line\n",
789     current_file->name, current_file->lineno);
790     }
791    
792   if (new_size > text_asize) {   if (new_size > text_asize) {
793   new_size += START_STRSIZE - 1;   new_size += START_STRSIZE - 1;
794   new_size &= -START_STRSIZE;   new_size &= -START_STRSIZE;
# Line 842  static void yy_flex_strncpy (char *,yyco Line 847  static void yy_flex_strncpy (char *,yyco
847  static int yy_flex_strlen (yyconst char * );  static int yy_flex_strlen (yyconst char * );
848  #endif  #endif
849    
850    //bbox: suppressing "defined but not used" warning
851    #define YY_NO_INPUT 1
852    
853  #ifndef YY_NO_INPUT  #ifndef YY_NO_INPUT
854    
855  #ifdef __cplusplus  #ifdef __cplusplus

Legend:
Removed from v.815  
changed lines
  Added in v.816