GRASP - CSD Window (C++) : C/C++

File | Edit | View | Templates | Windows | Compiler | Run | C/C++ | Help

Parsing - This sub-menu allows the parsing mode to be set. These are ordered from slowest and most complete to fastest and least complete. If specified, include files are parsed for macro definitions. If macros are well-structured (meaning that the use of a macro looks like legal C code) and there are no macro flags (macros used to flag conditional compilation), expanding macros and parsing include files is unnecessary. Standard C library headers normally contain only well-structured macros, and no macro flags. Local include files (defined as any included with #include "file" as opposed to #include ) only may be parsed if these files contain unstructured macros or macro flags, and the time overhead of parsing other headers, which can be large, can still be avoided.

Include Path - The option changes the include path. These are the directories that are searched for include files when generating a CSD if the parse mode (see above) requires it. Directories are entered in a list, one per line.

Predefined Macros - Allows the user to change the predefined macros. Typically, __STDC__ should be defined to be 1. Macros that are set externally, in a makefile or a header that is not being parsed (see "Parsing" above) can be set here. Macros are entered in a list, one per line, with the macro followed by the substitution text.

Alternate Tokens - Enables (Disables) the alternate C++ tokens : <% %> <: :> %: %:%: and bitor or xor compl bitand and_eq or_eq xor_eq not not_eq.

Return to the Introduction to GRASP Page