Changeset e8edef in git
- Timestamp:
- Jan 31, 2020, 4:01:33 PM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b9f50b373314e74e83c7c060a651dd2913e1f033')
- Children:
- 567945d548bee08c582e917dff1d59fcba891cd8
- Parents:
- 3ada27bd457c540e7307b402cf08aeeebd40b113
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/libparse.cc
r3ada27 re8edef 1411 1411 YY_DECL 1412 1412 { 1413 registeryy_state_type yy_current_state;1414 registerchar *yy_cp, *yy_bp;1415 registerint yy_act;1413 REGISTER yy_state_type yy_current_state; 1414 REGISTER char *yy_cp, *yy_bp; 1415 REGISTER int yy_act; 1416 1416 1417 1417 #line 229 "libparse.l" … … 1465 1465 do 1466 1466 { 1467 registerYY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];1467 REGISTER YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; 1468 1468 if ( yy_accept[yy_current_state] ) 1469 1469 { … … 2597 2597 static int yy_get_next_buffer() 2598 2598 { 2599 registerchar *dest = yy_current_buffer->yy_ch_buf;2600 registerchar *source = yytext_ptr;2601 registerint number_to_move, i;2599 REGISTER char *dest = yy_current_buffer->yy_ch_buf; 2600 REGISTER char *source = yytext_ptr; 2601 REGISTER int number_to_move, i; 2602 2602 int ret_val; 2603 2603 … … 2729 2729 static yy_state_type yy_get_previous_state() 2730 2730 { 2731 registeryy_state_type yy_current_state;2732 registerchar *yy_cp;2731 REGISTER yy_state_type yy_current_state; 2732 REGISTER char *yy_cp; 2733 2733 2734 2734 yy_current_state = yy_start; … … 2737 2737 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) 2738 2738 { 2739 registerYY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);2739 REGISTER YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); 2740 2740 if ( yy_accept[yy_current_state] ) 2741 2741 { … … 2769 2769 #endif 2770 2770 { 2771 registerint yy_is_jam;2772 registerchar *yy_cp = yy_c_buf_p;2773 2774 registerYY_CHAR yy_c = 1;2771 REGISTER int yy_is_jam; 2772 REGISTER char *yy_cp = yy_c_buf_p; 2773 2774 REGISTER YY_CHAR yy_c = 1; 2775 2775 if ( yy_accept[yy_current_state] ) 2776 2776 { … … 2793 2793 #ifndef YY_NO_UNPUT 2794 2794 #ifdef YY_USE_PROTOS 2795 static void yyunput( int c, registerchar *yy_bp )2795 static void yyunput( int c, REGISTER char *yy_bp ) 2796 2796 #else 2797 2797 static void yyunput( c, yy_bp ) 2798 2798 int c; 2799 VAR registerchar *yy_bp;2799 VAR REGISTER char *yy_bp; 2800 2800 #endif 2801 2801 { 2802 registerchar *yy_cp = yy_c_buf_p;2802 REGISTER char *yy_cp = yy_c_buf_p; 2803 2803 2804 2804 /* undo effects of setting up yytext */ … … 2808 2808 { /* need to shift things up to make room */ 2809 2809 /* +2 for EOB chars. */ 2810 registerint number_to_move = yy_n_chars + 2;2811 registerchar *dest = &yy_current_buffer->yy_ch_buf[2810 REGISTER int number_to_move = yy_n_chars + 2; 2811 REGISTER char *dest = &yy_current_buffer->yy_ch_buf[ 2812 2812 yy_current_buffer->yy_buf_size + 2]; 2813 registerchar *source =2813 REGISTER char *source = 2814 2814 &yy_current_buffer->yy_ch_buf[number_to_move]; 2815 2815 … … 3273 3273 #endif 3274 3274 { 3275 registerint i;3275 REGISTER int i; 3276 3276 for ( i = 0; i < n; ++i ) 3277 3277 s1[i] = s2[i]; … … 3287 3287 #endif 3288 3288 { 3289 registerint n;3289 REGISTER int n; 3290 3290 for ( n = 0; s[n]; ++n ) 3291 3291 ;
Note: See TracChangeset
for help on using the changeset viewer.