From ed5b974772884452cd2c99128233fc28ba9821b3 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Thu, 22 Dec 2011 21:51:09 +0000 Subject: [PATCH] Automatic whitespace cleanup. No functional change. --- jam/Jam.html | 108 +++++++++++++++++++++++++++++++++++++++++++++++--------------------------------- jam/jam.c | 22 ++++++++++++---------- 2 files changed, 65 insertions(+), 65 deletions(-) diff --git a/jam/Jam.html b/jam/Jam.html index f750eee..c1cbc4f 100644 --- a/jam/Jam.html +++ b/jam/Jam.html @@ -18,12 +18,12 @@
 jam [ -a ] [ -g ] [ -n ] [ -q ] [ -v ]
-    [ -d debug ] 
-    [ -f jambase ] 
-    [ -j jobs ] 
-    [ -o actionsfile ] 
-    [ -s var=value ] 
-    [ -t target ] 
+    [ -d debug ]
+    [ -f jambase ]
+    [ -j jobs ]
+    [ -o actionsfile ]
+    [ -s var=value ]
+    [ -t target ]
     [ target ... ]
 
@@ -66,7 +66,7 @@ Build all targets anyway, even if they are up-to-date. -d c - Turn on display option c and off the default + Turn on display option c and off the default display (summary info and actions):
@@ -81,17 +81,17 @@
-d n - Enable cummulative debugging levels from 1 to n. + Enable cummulative debugging levels from 1 to n. Interesting values are:
-
1
Show actions and summary info (the default) +
1
Show actions and summary info (the default)
3
Old name for -dm (described above) -
5
Show rule invocations and variable expansions -
6
Show directory/header file/archive scans -
7
Show variable settings -
8
Show variable fetches -
9
Show variable manipulation, scanner tokens +
5
Show rule invocations and variable expansions +
6
Show directory/header file/archive scans +
7
Show variable settings +
8
Show variable fetches +
9
Show variable manipulation, scanner tokens
-d +n @@ -109,7 +109,7 @@ in the order of appearance in the Jambase/Jamfiles. -j n - Run up to n shell commands concurrently (UNIX + Run up to n shell commands concurrently (UNIX and NT only). The default is 1. -n @@ -130,7 +130,7 @@ environment. -t target - Rebuild target and everything that depends on it, + Rebuild target and everything that depends on it, even if it is up-to-date. -v @@ -142,7 +142,7 @@

- Jam has four phases of operation: start-up, parsing, + Jam has four phases of operation: start-up, parsing, binding, and updating.

Start-up

@@ -191,7 +191,7 @@ After parsing, jam recursively descends the dependency graph and binds every file target with a location in the - filesystem. + filesystem.

Targets
@@ -356,8 +356,8 @@

- - rulename field1 : field2 : ... + + rulename field1 : field2 : ... : fieldN ; @@ -425,25 +425,25 @@
-

+

- break + break

Breaks out of the closest enclosing for or while loop. -

+

- continue + continue

Jumps to the end of the closest enclosing for or while loop. -

+

for var in list { statements } @@ -464,13 +464,13 @@

Does the obvious; the else clause is optional. cond is built of: - +
- - @@ -539,7 +539,7 @@ otherwise.

- + on target statement ; @@ -553,7 +553,7 @@

- return values ; + return values ; @@ -562,7 +562,7 @@ execution.

- + rule rulename [ : vars ] { statements } @@ -577,10 +577,10 @@ switch value -
{ -
case pattern1 : statements ; -
case pattern2 : statements ; -
... +
{ +
case pattern1 : statements ; +
case pattern2 : statements ; +
...
} @@ -641,17 +641,17 @@

a true if any a element is a non-zero-length + true if any a element is a non-zero-length string
a = b list a matches list b + list a matches list b string-for-string
a != b list a does not match list b
-
+
variable = elements ; -
+
variable += elements ; -
+
variable ?= elements ; -
+
variable on targets = elements ; -
+
variable on targets += elements ; -
+
variable on targets ?= elements ;
@@ -666,7 +666,7 @@ variable only if it was previously unset. The last form "variable on targets ?= elements" checks to see if the target-specific, not the global, variable is set. - (The ?= operator also has an old form "default =".) + (The ?= operator also has an old form "default =".)

@@ -745,7 +745,7 @@
$(X) -> a ""
$(Y) -> "" 1 -
$(Z) -> +
$(Z) ->
*$(X)$(Y)* -> *a* *a1* ** *1*
*$(X)$(Z)* -> @@ -841,12 +841,12 @@ the second modifies it; and the third are just utility rules. -

Dependency Building
+

Dependency Building

-

- DEPENDS targets1 : targets2 ; +

+ DEPENDS targets1 : targets2 ;
Builds a direct dependency: makes each of targets1 @@ -877,7 +877,7 @@
-

Modifying Binding
+

Modifying Binding

@@ -965,7 +965,7 @@ -

Utility Rules
+

Utility Rules
The remaining rules are utility rules. @@ -1117,7 +1117,7 @@ -
OSOS identifier string +
OSOS identifier string
OSPLATUnderlying architecture, when applicable
MACtrue on MAC platform
NTtrue on NT platform @@ -1278,7 +1278,7 @@

With the -j flag, errors from failed commands can get staggeringly - mixed up. + mixed up.

@@ -1305,14 +1305,14 @@

AUTHOR

- Jam's author is Christopher Seiwald (seiwald@perforce.com). - Documentation is provided by + Documentation is provided by Perforce Software, Inc. -


+


@@ -1324,6 +1324,6 @@
$Id: //public/jam/src/Jam.html#19 $ - + diff --git a/jam/jam.c b/jam/jam.c index 5bf427c..13fbb88 100644 --- a/jam/jam.c +++ b/jam/jam.c @@ -6,7 +6,7 @@ * This file is part of jam. * * License is hereby granted to use this software and distribute it - * freely, as long as this copyright notice is retained and modifications + * freely, as long as this copyright notice is retained and modifications * are clearly marked. * * ALL WARRANTIES ARE HEREBY DISCLAIMED. @@ -21,11 +21,11 @@ * * The top half of the code is structured such: * - * jam - * / | \ + * jam + * / | \ * +---+ | \ - * / | \ - * jamgram option \ + * / | \ + * jamgram option \ * / | \ \ * / | \ \ * / | \ | @@ -70,7 +70,7 @@ * execvms.c - execute a shell script, ala VMS * expand.c - expand a buffer, given variable values * file*.c - scan directories and archives on * - * hash.c - simple in-memory hashing routines + * hash.c - simple in-memory hashing routines * headers.c - handle #includes in source files * jambase.c - compilable copy of Jambase * jamgram.y - jam grammar @@ -81,11 +81,11 @@ * option.c - command line option processing * parse.c - make and destroy parse trees as driven by the parser * path*.c - manipulate file names on * - * hash.c - simple in-memory hashing routines + * hash.c - simple in-memory hashing routines * regexp.c - Henry Spencer's regexp * rules.c - access to RULEs, TARGETs, and ACTIONs * scan.c - the jam yacc scanner - * search.c - find a target along $(SEARCH) or $(LOCATE) + * search.c - find a target along $(SEARCH) or $(LOCATE) * timestamp.c - get the timestamp of a file or archive member * variable.c - handle jam multi-element variables * @@ -148,7 +148,7 @@ static const char *othersyms[] = { OSMAJOR, OSMINOR, OSPLAT, JAMVERSYM, 0 } ; -/* Known for sure: +/* Known for sure: * mac needs arg_enviro * OS2 needs extern environ */ @@ -162,7 +162,7 @@ # ifndef use_environ # define use_environ environ -# if !defined( __WATCOM__ ) && !defined( OS_OS2 ) && !defined( OS_NT ) +# if !defined( __WATCOM__ ) && !defined( OS_OS2 ) && !defined( OS_NT ) extern char **environ; # endif # endif @@ -220,7 +220,7 @@ /* Pick up interesting options */ if( ( s = getoptval( optv, 'n', 0 ) ) ) - globs.noexec++, DEBUG_MAKE = DEBUG_MAKEQ = DEBUG_EXEC = 1; + globs.noexec++, DEBUG_MAKE = DEBUG_MAKEQ = DEBUG_EXEC = 1; if( ( s = getoptval( optv, 'q', 0 ) ) ) globs.quitquick = 1; -- gitore 0.2.2