flex-skl-diff.txt 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. *** flex.skl 2021-08-18 01:26:30.359640389 +0200
  2. --- flex-2.6.4.skl 2021-08-12 11:34:26.933936181 +0200
  3. *************** m4_ifelse(M4_YY_PREFIX,yy,,
  4. *** 91,98 ****
  5. #define FLEX_SCANNER
  6. #define YY_FLEX_MAJOR_VERSION 2
  7. ! #define YY_FLEX_MINOR_VERSION 6
  8. ! #define YY_FLEX_SUBMINOR_VERSION 4
  9. #if YY_FLEX_SUBMINOR_VERSION > 0
  10. #define FLEX_BETA
  11. #endif
  12. --- 91,98 ----
  13. #define FLEX_SCANNER
  14. #define YY_FLEX_MAJOR_VERSION 2
  15. ! #define YY_FLEX_MINOR_VERSION 4
  16. ! #define YY_FLEX_SUBMINOR_VERSION 6
  17. #if YY_FLEX_SUBMINOR_VERSION > 0
  18. #define FLEX_BETA
  19. #endif
  20. *************** m4_ifdef( [[M4_YY_USES_REJECT]],
  21. *** 1743,1749 ****
  22. */
  23. yy_bp = yy_cp;
  24. ! %% [9.0] code to set up and find next match goes here - scan-build says array subscript is undefined at the generated code yy_nxt[yy_current_state][ YY_SC_TO_UI(*yy_cp) ])
  25. yy_find_action:
  26. %% [10.0] code to find the action number goes here
  27. --- 1743,1749 ----
  28. */
  29. yy_bp = yy_cp;
  30. ! %% [9.0] code to set up and find next match goes here
  31. yy_find_action:
  32. %% [10.0] code to find the action number goes here
  33. *************** do_action: /* This label is used only to
  34. *** 1890,1896 ****
  35. default:
  36. YY_FATAL_ERROR(
  37. "fatal flex scanner internal error--no action found" );
  38. - break;
  39. } /* end of action switch */
  40. } /* end of scanning one token */
  41. } /* end of user's declarations */
  42. --- 1890,1895 ----
  43. *************** static void yy_load_buffer_state (M4_YY
  44. *** 2498,2507 ****
  45. * we need to put in 2 end-of-buffer characters.
  46. */
  47. b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );
  48. ! if ( ! b->yy_ch_buf ) {
  49. ! yyfree (b);
  50. YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  51. - }
  52. b->yy_is_our_buffer = 1;
  53. --- 2497,2504 ----
  54. * we need to put in 2 end-of-buffer characters.
  55. */
  56. b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) M4_YY_CALL_LAST_ARG );
  57. ! if ( ! b->yy_ch_buf )
  58. YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  59. b->yy_is_our_buffer = 1;
  60. *************** static void yy_load_buffer_state (M4_YY
  61. *** 2564,2574 ****
  62. int oerrno = errno;
  63. M4_YY_DECL_GUTS_VAR();
  64. - if (b == NULL) {
  65. - /* shouldnothappen */
  66. - return;
  67. - }
  68. -
  69. yy_flush_buffer( b M4_YY_CALL_LAST_ARG);
  70. %if-c-only
  71. --- 2561,2566 ----
  72. *************** YY_BUFFER_STATE yy_scan_buffer YYFARGS2
  73. *** 2791,2799 ****
  74. return NULL;
  75. b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) M4_YY_CALL_LAST_ARG );
  76. ! if ( ! b ) {
  77. YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  78. - }
  79. b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  80. b->yy_buf_pos = b->yy_ch_buf = base;
  81. --- 2783,2790 ----
  82. return NULL;
  83. b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) M4_YY_CALL_LAST_ARG );
  84. ! if ( ! b )
  85. YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  86. b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  87. b->yy_buf_pos = b->yy_ch_buf = base;
  88. *************** YY_BUFFER_STATE yy_scan_bytes YYFARGS2(
  89. *** 2864,2873 ****
  90. buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  91. b = yy_scan_buffer( buf, n M4_YY_CALL_LAST_ARG);
  92. ! if ( ! b ) {
  93. ! yyfree (buf);
  94. YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  95. - }
  96. /* It's okay to grow etc. this buffer, and we should throw it
  97. * away when we're done.
  98. --- 2855,2862 ----
  99. buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  100. b = yy_scan_buffer( buf, n M4_YY_CALL_LAST_ARG);
  101. ! if ( ! b )
  102. YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  103. /* It's okay to grow etc. this buffer, and we should throw it
  104. * away when we're done.
  105. *************** void *yyalloc YYFARGS1( yy_size_t ,size)
  106. *** 3453,3464 ****
  107. {
  108. M4_YY_DECL_GUTS_VAR();
  109. M4_YY_NOOP_GUTS_VAR();
  110. ! void *ret = NULL;
  111. ! ret = calloc(1,size);
  112. ! if (ret == NULL) {
  113. ! /* option here to do exit (1); */
  114. ! }
  115. ! return (ret);
  116. }
  117. ]])
  118. --- 3442,3448 ----
  119. {
  120. M4_YY_DECL_GUTS_VAR();
  121. M4_YY_NOOP_GUTS_VAR();
  122. ! return malloc(size);
  123. }
  124. ]])
  125. *************** void *yyrealloc YYFARGS2( void *,ptr, y
  126. *** 3468,3474 ****
  127. {
  128. M4_YY_DECL_GUTS_VAR();
  129. M4_YY_NOOP_GUTS_VAR();
  130. ! void *ret = NULL;
  131. /* The cast to (char *) in the following accommodates both
  132. * implementations that use char* generic pointers, and those
  133. * that use void* generic pointers. It works with the latter
  134. --- 3452,3458 ----
  135. {
  136. M4_YY_DECL_GUTS_VAR();
  137. M4_YY_NOOP_GUTS_VAR();
  138. !
  139. /* The cast to (char *) in the following accommodates both
  140. * implementations that use char* generic pointers, and those
  141. * that use void* generic pointers. It works with the latter
  142. *************** void *yyrealloc YYFARGS2( void *,ptr, y
  143. *** 3476,3488 ****
  144. * any pointer type to void*, and deal with argument conversions
  145. * as though doing an assignment.
  146. */
  147. ! ret = realloc(ptr, size);
  148. ! if (size) {
  149. ! if (ret == NULL) {
  150. ! /* option here to do exit (1); */
  151. ! }
  152. ! }
  153. ! return (ret);
  154. }
  155. ]])
  156. --- 3460,3466 ----
  157. * any pointer type to void*, and deal with argument conversions
  158. * as though doing an assignment.
  159. */
  160. ! return realloc(ptr, size);
  161. }
  162. ]])
  163. *************** void yyfree YYFARGS1( void *,ptr)
  164. *** 3492,3498 ****
  165. {
  166. M4_YY_DECL_GUTS_VAR();
  167. M4_YY_NOOP_GUTS_VAR();
  168. ! if (ptr) { free( (char *) ptr ); } /* see yyrealloc() for (char *) cast */
  169. }
  170. ]])
  171. --- 3470,3476 ----
  172. {
  173. M4_YY_DECL_GUTS_VAR();
  174. M4_YY_NOOP_GUTS_VAR();
  175. ! free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  176. }
  177. ]])