diff options
author | Robert Hooker <sarvatt@ubuntu.com> | 2012-03-08 16:14:51 -0500 |
---|---|---|
committer | Robert Hooker <sarvatt@ubuntu.com> | 2012-03-08 16:14:51 -0500 |
commit | 5414f0c8bef39f953d5eef5e12328c44ed2b1070 (patch) | |
tree | 0ad61f3df7f5c9f507d1da1646eb3d4cb0b0c9c9 /makedepend/ifparser.h | |
parent | b1733cf8649f2e2ef4bc07cb8e5c33bdc329e2cd (diff) | |
download | xutils-dev-5414f0c8bef39f953d5eef5e12328c44ed2b1070.tar.gz |
makedepend 1.0.4
Diffstat (limited to 'makedepend/ifparser.h')
-rw-r--r-- | makedepend/ifparser.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/makedepend/ifparser.h b/makedepend/ifparser.h index 244d4f5..ad809d1 100644 --- a/makedepend/ifparser.h +++ b/makedepend/ifparser.h @@ -1,7 +1,7 @@ /* * * Copyright 1992 Network Computing Devices, Inc. - * + * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that both that @@ -11,7 +11,7 @@ * without specific, written prior permission. Network Computing Devices makes * no representations about the suitability of this software for any purpose. * It is provided ``as is'' without express or implied warranty. - * + * * NETWORK COMPUTING DEVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, * IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE FOR ANY SPECIAL, @@ -19,19 +19,19 @@ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. - * + * * Author: Jim Fulton * Network Computing Devices, Inc. - * + * * Simple if statement processor * * This module can be used to evaluate string representations of C language * if constructs. It accepts the following grammar: - * + * * EXPRESSION := VALUE * | VALUE BINOP EXPRESSION * | VALUE '?' EXPRESSION ':' EXPRESSION - * + * * VALUE := '(' EXPRESSION ')' * | '!' VALUE * | '-' VALUE @@ -39,7 +39,7 @@ * | 'defined' '(' variable ')' * | variable * | number - * + * * BINOP := '*' | '/' | '%' * | '+' | '-' * | '<<' | '>>' @@ -47,12 +47,12 @@ * | '==' | '!=' * | '&' | '^' | '|' * | '&&' | '||' - * + * * The normal C order of precedence is supported. - * - * + * + * * External Entry Points: - * + * * ParseIfExpression parse a string for #if */ @@ -74,8 +74,8 @@ typedef struct _if_parser { } IfParser; const char *ParseIfExpression ( - IfParser *, - const char *, + IfParser *, + const char *, long * ); |