#ifndef _COMPILE_H_ #define _COMPILE_H_ #include "Parse.hpp" /* * Copyright 1993, 2000 Christopher Seiwald. * * This file is part of Jam - see jam.c for Copyright information. */ /* * compile.h - compile parsed jam statements */ void compile_builtins(); Jam::List *compile_append( Jam::Parse *parse, LOL *args ); Jam::List *compile_foreach( Jam::Parse *parse, LOL *args ); Jam::List *compile_if( Jam::Parse *parse, LOL *args ); Jam::List *compile_include( Jam::Parse *parse, LOL *args ); Jam::List *compile_list( Jam::Parse *parse, LOL *args ); Jam::List *compile_local( Jam::Parse *parse, LOL *args ); Jam::List *compile_null( Jam::Parse *parse, LOL *args ); Jam::List *compile_rule( Jam::Parse *parse, LOL *args ); Jam::List *compile_rules( Jam::Parse *parse, LOL *args ); Jam::List *compile_set( Jam::Parse *parse, LOL *args ); Jam::List *compile_setcomp( Jam::Parse *parse, LOL *args ); Jam::List *compile_setexec( Jam::Parse *parse, LOL *args ); Jam::List *compile_settings( Jam::Parse *parse, LOL *args ); Jam::List *compile_switch( Jam::Parse *parse, LOL *args ); Jam::List *evaluate_rule( const char *rulename, LOL *args ); /* Flags for compile_set(), etc */ # define ASSIGN_SET 0x00 /* = assign variable */ # define ASSIGN_APPEND 0x01 /* += append variable */ # define ASSIGN_DEFAULT 0x02 /* set only if unset */ /* Flags for compile_setexec() */ # define EXEC_UPDATED 0x01 /* executes updated */ # define EXEC_TOGETHER 0x02 /* executes together */ # define EXEC_IGNORE 0x04 /* executes ignore */ # define EXEC_QUIETLY 0x08 /* executes quietly */ # define EXEC_PIECEMEAL 0x10 /* executes piecemeal */ # define EXEC_EXISTING 0x20 /* executes existing */ /* Conditions for compile_if() */ # define COND_NOT 0 /* ! cond */ # define COND_AND 1 /* cond && cond */ # define COND_OR 2 /* cond || cond */ # define COND_EXISTS 3 /* arg */ # define COND_EQUALS 4 /* arg = arg */ # define COND_NOTEQ 5 /* arg != arg */ # define COND_LESS 6 /* arg < arg */ # define COND_LESSEQ 7 /* arg <= arg */ # define COND_MORE 8 /* arg > arg */ # define COND_MOREEQ 9 /* arg >= arg */ # define COND_IN 10 /* arg in arg */ #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 1162 | bob_summerwill | Converted LIST into a List class, with all static methods. | ||
#3 | 1156 | bob_summerwill | Converted Parse into a class. | ||
#2 | 1131 | bob_summerwill | More .C to .CPP conversions. | ||
#1 | 1127 | bob_summerwill | More file renaming. | ||
//guest/bob_summerwill/jam/src/compile.h | |||||
#3 | 1126 | bob_summerwill | #include dependencies between headers are now modelled explicitly, with #includes as required in header files, rather than it being a client-code responsibility. | ||
#2 | 1120 | bob_summerwill | A fair-size chunk of char* const-correctness modifications. | ||
#1 | 1106 | bob_summerwill | Integrated Jam from "public" to "guest/bob_summerwill". | ||
//guest/perforce_software/jam/src/compile.h | |||||
#2 | 486 | Perforce staff |
Jam 2.3. See RELNOTES for a list of changes from 2.2.x. Just about every source file was touched when jam got ANSI-fied. |
||
#1 | 2 | laura | Add Jam/MR 2.2 source |