Changeset 534
- Timestamp:
- 02/06/09 01:17:42 (3 years ago)
- Location:
- interpreter/trunk/windows
- Files:
-
- 4 edited
-
kite_lexer.c (modified) (6 diffs)
-
kite_parser.c (modified) (4 diffs)
-
kite_parser.h (modified) (1 diff)
-
module_initializers.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
interpreter/trunk/windows/kite_lexer.c
r525 r534 911 911 #define YY_DECL_IS_OURS 1 912 912 913 extern int yylex (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner); 914 915 #define YY_DECL int yylex (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 913 extern int yylex \ 914 (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner); 915 916 #define YY_DECL int yylex \ 917 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 916 918 #endif /* !YY_DECL */ 917 919 … … 943 945 944 946 945 #line 94 6"kite_lexer.c"947 #line 948 "kite_lexer.c" 946 948 947 949 yylval = yylval_param; … … 1627 1629 ECHO; 1628 1630 YY_BREAK 1629 #line 163 0"kite_lexer.c"1631 #line 1632 "kite_lexer.c" 1630 1632 case YY_STATE_EOF(INITIAL): 1631 1633 case YY_STATE_EOF(operator): … … 1864 1866 /* Read in more data. */ 1865 1867 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), 1866 yyg->yy_n_chars, num_to_read );1868 yyg->yy_n_chars, (size_t) num_to_read ); 1867 1869 1868 1870 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; … … 2043 2045 { 2044 2046 if ( yywrap(yyscanner ) ) 2045 return 0;2047 return EOF; 2046 2048 2047 2049 if ( ! yyg->yy_did_buffer_switch_on_eof ) … … 2378 2380 /** Setup the input buffer state to scan a string. The next call to yylex() will 2379 2381 * scan from a @e copy of @a str. 2380 * @param str a NUL-terminated string to scan2382 * @param yystr a NUL-terminated string to scan 2381 2383 * @param yyscanner The scanner object. 2382 2384 * @return the newly allocated buffer state object. -
interpreter/trunk/windows/kite_parser.c
r525 r534 315 315 kite_opcode_t *opValue; 316 316 } 317 /* Line 1 93of yacc.c. */317 /* Line 187 of yacc.c. */ 318 318 #line 319 "kite_parser.c" 319 319 YYSTYPE; … … 391 391 392 392 #ifndef YY_ 393 # if defined YYENABLE_NLS &&YYENABLE_NLS393 # if YYENABLE_NLS 394 394 # if ENABLE_NLS 395 395 # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ … … 1137 1137 1138 1138 #ifndef YY_LOCATION_PRINT 1139 # if defined YYLTYPE_IS_TRIVIAL &&YYLTYPE_IS_TRIVIAL1139 # if YYLTYPE_IS_TRIVIAL 1140 1140 # define YY_LOCATION_PRINT(File, Loc) \ 1141 1141 fprintf (File, "%d.%d-%d.%d", \ … … 1714 1714 yyvsp = yyvs; 1715 1715 yylsp = yyls; 1716 #if defined YYLTYPE_IS_TRIVIAL &&YYLTYPE_IS_TRIVIAL1716 #if YYLTYPE_IS_TRIVIAL 1717 1717 /* Initialize the default location before parsing starts. */ 1718 1718 yylloc.first_line = yylloc.last_line = 1; -
interpreter/trunk/windows/kite_parser.h
r526 r534 165 165 kite_opcode_t *opValue; 166 166 } 167 /* Line 1 529 of yacc.c. */167 /* Line 1489 of yacc.c. */ 168 168 #line 169 "kite_parser.h" 169 169 YYSTYPE; -
interpreter/trunk/windows/module_initializers.c
r524 r534 1 1 #define KITE_MODULE_INITIALIZER_C 2 2 #include "objs/kite_object.h" 3 extern void posix_load_module__wrap(kite_thread_t*); 4 extern void loader_load_module__wrap(kite_thread_t*); 5 extern void thread_load_module__wrap(kite_thread_t*); 6 extern void compiler_load_module__wrap(kite_thread_t*); 7 extern void socket_load_module__wrap(kite_thread_t*); 8 extern void range_load_module__wrap(kite_thread_t*); 9 extern void directory_load_module__wrap(kite_thread_t*); 10 extern void float_load_module__wrap(kite_thread_t*); 11 extern void object_load_module__wrap(kite_thread_t*); 12 extern void string_load_module__wrap(kite_thread_t*); 13 extern void null_load_module__wrap(kite_thread_t*); 14 extern void list_load_module__wrap(kite_thread_t*); 15 extern void date_load_module__wrap(kite_thread_t*); 16 extern void file_load_module__wrap(kite_thread_t*); 17 extern void boolean_load_module__wrap(kite_thread_t*); 18 extern void method_load_module__wrap(kite_thread_t*); 19 extern void os_load_module__wrap(kite_thread_t*); 20 extern void vm_load_module__wrap(kite_thread_t*); 21 extern void math_load_module__wrap(kite_thread_t*); 22 extern void integer_load_module__wrap(kite_thread_t*); 23 extern void digest_load_module__wrap(kite_thread_t*); 24 extern void hires_load_module__wrap(kite_thread_t*); 25 extern void array_load_module__wrap(kite_thread_t*); 26 extern void _cinvoke_context_load_module__wrap(kite_thread_t*); 27 extern void _cinvoke_library_load_module__wrap(kite_thread_t*); 28 extern void _cinvoke_function_load_module__wrap(kite_thread_t*); 29 extern void _regex_match_load_module__wrap(kite_thread_t*); 3 30 extern void _cinvoke_callback_load_module__wrap(kite_thread_t*); 4 extern void _cinvoke_context_load_module__wrap(kite_thread_t*); 5 extern void _cinvoke_function_load_module__wrap(kite_thread_t*); 6 extern void _cinvoke_library_load_module__wrap(kite_thread_t*); 31 extern void _regex_load_module__wrap(kite_thread_t*); 7 32 extern void _cinvoke_structure_load_module__wrap(kite_thread_t*); 8 33 extern void _exception_load_module__wrap(kite_thread_t*); 9 extern void _regex_load_module__wrap(kite_thread_t*);10 extern void _regex_match_load_module__wrap(kite_thread_t*);11 34 extern void __internal_load_module__wrap(kite_thread_t*); 12 extern void boolean_load_module__wrap(kite_thread_t*);13 extern void hires_load_module__wrap(kite_thread_t*);14 extern void date_load_module__wrap(kite_thread_t*);15 extern void digest_load_module__wrap(kite_thread_t*);16 extern void directory_load_module__wrap(kite_thread_t*);17 extern void file_load_module__wrap(kite_thread_t*);18 extern void float_load_module__wrap(kite_thread_t*);19 extern void integer_load_module__wrap(kite_thread_t*);20 extern void list_load_module__wrap(kite_thread_t*);21 extern void range_load_module__wrap(kite_thread_t*);22 extern void math_load_module__wrap(kite_thread_t*);23 extern void method_load_module__wrap(kite_thread_t*);24 extern void socket_load_module__wrap(kite_thread_t*);25 extern void null_load_module__wrap(kite_thread_t*);26 extern void object_load_module__wrap(kite_thread_t*);27 extern void posix_load_module__wrap(kite_thread_t*);28 extern void os_load_module__wrap(kite_thread_t*);29 extern void string_load_module__wrap(kite_thread_t*);30 extern void compiler_load_module__wrap(kite_thread_t*);31 extern void loader_load_module__wrap(kite_thread_t*);32 extern void thread_load_module__wrap(kite_thread_t*);33 extern void vm_load_module__wrap(kite_thread_t*);34 35 void kite_module_initialize_now(kite_thread_t *thd) { 36 posix_load_module__wrap(thd); 37 loader_load_module__wrap(thd); 38 thread_load_module__wrap(thd); 39 compiler_load_module__wrap(thd); 40 socket_load_module__wrap(thd); 41 range_load_module__wrap(thd); 42 directory_load_module__wrap(thd); 43 float_load_module__wrap(thd); 44 object_load_module__wrap(thd); 45 string_load_module__wrap(thd); 46 null_load_module__wrap(thd); 47 list_load_module__wrap(thd); 48 date_load_module__wrap(thd); 49 file_load_module__wrap(thd); 50 boolean_load_module__wrap(thd); 51 method_load_module__wrap(thd); 52 os_load_module__wrap(thd); 53 vm_load_module__wrap(thd); 54 math_load_module__wrap(thd); 55 integer_load_module__wrap(thd); 56 digest_load_module__wrap(thd); 57 hires_load_module__wrap(thd); 58 array_load_module__wrap(thd); 59 _cinvoke_context_load_module__wrap(thd); 60 _cinvoke_library_load_module__wrap(thd); 61 _cinvoke_function_load_module__wrap(thd); 62 _regex_match_load_module__wrap(thd); 35 63 _cinvoke_callback_load_module__wrap(thd); 36 _cinvoke_context_load_module__wrap(thd); 37 _cinvoke_function_load_module__wrap(thd); 38 _cinvoke_library_load_module__wrap(thd); 64 _regex_load_module__wrap(thd); 39 65 _cinvoke_structure_load_module__wrap(thd); 40 66 _exception_load_module__wrap(thd); 41 _regex_load_module__wrap(thd);42 _regex_match_load_module__wrap(thd);43 67 __internal_load_module__wrap(thd); 44 boolean_load_module__wrap(thd);45 hires_load_module__wrap(thd);46 date_load_module__wrap(thd);47 digest_load_module__wrap(thd);48 directory_load_module__wrap(thd);49 file_load_module__wrap(thd);50 float_load_module__wrap(thd);51 integer_load_module__wrap(thd);52 list_load_module__wrap(thd);53 range_load_module__wrap(thd);54 math_load_module__wrap(thd);55 method_load_module__wrap(thd);56 socket_load_module__wrap(thd);57 null_load_module__wrap(thd);58 object_load_module__wrap(thd);59 posix_load_module__wrap(thd);60 os_load_module__wrap(thd);61 string_load_module__wrap(thd);62 compiler_load_module__wrap(thd);63 loader_load_module__wrap(thd);64 thread_load_module__wrap(thd);65 vm_load_module__wrap(thd);66 68 }
Note: See TracChangeset
for help on using the changeset viewer.
