Changeset 326 for trunk/idl-compiler/parser_c
- Timestamp:
- Apr 9, 2008, 10:22:08 PM (17 years ago)
- Location:
- trunk/idl-compiler/parser_c
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/idl-compiler/parser_c/classversion_parser.c
r271 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> -
trunk/idl-compiler/parser_c/filestem_parser.c
r307 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> -
trunk/idl-compiler/parser_c/hash_parser.c
r308 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> … … 45 48 Current token is a '#'. 46 49 47 H:= '#' INT STRING INT // Line info from the preprocessor 50 H:= '#line' INT STRING INT // Line info from the preprocessor 51 H:= '#' INT STRING INT // Line info from the preprocessor (gcc short hand) 48 52 */ 49 53 void parseHash(void) 50 54 { 55 if (g_scanner_peek_next_token(gScanner) == G_TOKEN_IDENTIFIER 56 && !strcmp(gScanner->next_value.v_identifier, "line")) 57 getNextToken(); /* skip the line part. */ 51 58 52 59 if(matchNext(G_TOKEN_INT)) -
trunk/idl-compiler/parser_c/instancevar_parser.c
r271 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> -
trunk/idl-compiler/parser_c/interface_parser.c
r309 r326 37 37 a specialized parser function in another source file is called from here. 38 38 */ 39 #include <os2.h> 39 #ifdef __OS2__ 40 # include <os2.h> 41 #endif /* __OS2__ */ 42 40 43 #include <stdlib.h> 41 44 #include <string.h> … … 292 295 { 293 296 PSYMBOL pCurSymbol; 297 GTokenValue value; 294 298 295 299 /* Parent interface */ … … 305 309 exit(1); 306 310 } 307 GTokenValuevalue=gScanner->value;311 value=gScanner->value; 308 312 /* Make sure it's the correct symbol */ 309 313 pCurSymbol=value.v_symbol; -
trunk/idl-compiler/parser_c/lineinfo_parser.c
r306 r326 39 39 */ 40 40 41 #include <os2.h> 41 #ifdef __OS2__ 42 # include <os2.h> 43 #endif /* __OS2__ */ 44 42 45 #include <stdio.h> 43 46 #include <stdlib.h> -
trunk/idl-compiler/parser_c/metaclass_parser.c
r320 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> -
trunk/idl-compiler/parser_c/method_parser.c
r271 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdlib.h> 36 39 -
trunk/idl-compiler/parser_c/override_parser.c
r309 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39 #include <stdlib.h> -
trunk/idl-compiler/parser_c/typespec_parser.c
r269 r326 32 32 * 33 33 * ***** END LICENSE BLOCK ***** */ 34 #include <os2.h> 34 #ifdef __OS2__ 35 # include <os2.h> 36 #endif /* __OS2__ */ 37 35 38 #include <stdio.h> 36 39
Note:
See TracChangeset
for help on using the changeset viewer.