/* * Copyright 1993, 1995 Christopher Seiwald. * * This file is part of Jam - see jam.c for Copyright information. */ /* * compile.h - compile parsed jam statements * * 06/01/94 (seiwald) - new 'actions existing' does existing sources * 08/23/94 (seiwald) - Support for '+=' (append to variable) */ void compile_builtins(); void compile_foreach(); void compile_if(); void compile_include(); void compile_local(); void compile_null(); void compile_rule(); void compile_rules(); void compile_set(); void compile_setcomp(); void compile_setexec(); void compile_settings(); void compile_switch(); /* 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 */
Jam -dr now reports file/line numbers, at no small effort.
New functionality documented in RELNOTES.
p4transfer.py: Transferred from production
Fix 'var on target ?= value' so that var is only set if it
did not have a target-specific value. Previously, it would
just overwrite the var's value.
Bug fix documented in RELNOTES.
=== computer:1666: Change 39566 by seiwald@play-seiwald on 2002/12/27 14:44:01
Rewrite the past: update all jam's source with comments to
reflect changes since about 2.3, very early 2001.
Whitespace only change.
=== computer:1666: Change 37660 by seiwald@play-seiwald on 2002/11/06 22:41:35
Note: I regenerated jamgram.c on my linux 7.3 system prior to
the submit, since patch was so unhappy trying to lay down the
changes from Christopher's change. Presumably this is just due to
different yacc/bison/whatever particulars on the system where
Christopher made the changes originally. - rmg
Some consting in jam to make it more compilable by C++ compilers.
No functional change.
=== computer:1666: Change 37433 by perforce@perforce on 2002/10/30 16:08:51
Recreational const-ing of jam, for compilers that don't allow
"string" to be passed as a non-const char *.
This included a few places where we were modifying what could
possibly have been read-only storage, oddly enough.
No functional change.
=== computer:1666: Change 37602 by seiwald@play-seiwald on 2002/11/04 17:25:40
Jam langauge work: make 'return' actually return from the rule,
rather than just setting the return value. Introduce new
break/continue statements for managing loops.
User visible change to be documented in Jam.html.
=== computer:1666: Change 37200 by seiwald@play-seiwald on 2002/10/22 15:41:28
Gross rework of Jam.html documentation, including:
- the description of parameters for rules
- description of -g flag
- a new description of targets
- more about rules and their return values
- better separation of rules and updating actions
- putting borders around the tables
(Undocumented) change to documentation.
=== computer:1666: Change 37551 by seiwald@waffle-cyg-seiwald on 2002/11/03 23:17:12
Document jam's new and working break/continue/return statements.
=== computer:1666: Change 37574 by seiwald@play-seiwald on 2002/11/04 13:13:01
Support for invoking rules via variable expansion, i.e.
"$(rule) targets : sources ;".
Not yet documented.
Documented in Jam.html (rmg change 1536)
Replace action modifiers EXEC_* from compile.h with RULE_* flags
from rules.h. They've always been the same quantity defined in
two places. Note that RULE_NEWSRCS is now RULE_UPDATED, to be
consistent with 'actions updated'.
No functional change.
Jam 2.3 + Perforce's internal changes.
This change is a drop of the Perforce internal Jam changes
since the 2.3 public release. The individual changes
represented herein are preserved in the
The intent of this drop is to provide a base, from which other
contributors' Jam branches may be integrated into. It is not
intended to become a packaged release in this state. We will
be integrating changes from other users prior to creating the
next packaged release.
Please refer to the src/RELNOTES file for an overview of the
changes present in this integration.
- Richard Geiger
Open Source Engineer at Perforce
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|