Programmer's Guide to Writing Programs
Table of Contents
Index
Chapter 14: Integrated Preprocessor Interface
14.1 Overview
14.1.1 Considerations
14.2 Invoking a Preprocessor
14.2.1 Invoking Multiple Preprocessors
14.2.2 Testing a Preprocessor
14.3 Writing a Preprocessor
14.3.1 Definition of the Interface
14.3.1.1 Preprocessor Parameters
14.3.1.2 The Initial Call
14.3.1.3 Subsequent Calls
14.3.2 Preprocessor Response Codes
14.3.2.1 Inserting Source Lines
14.3.2.2 Generating Error Messages
14.3.2.3 Querying Directive Settings
14.3.2.4 Handling COPY Statements
14.3.3 Source Modification
14.3.4 Multiple Preprocessors
14.3.5 Considerations When Writing a Preprocessor
14.4 The CP Preprocessor
14.4.1 Limitations
14.4.2 Copyfile Expansion
14.4.3 REPLACE Notification
14.4.4 Directives
14.5 CP Errors
14.5.1 Initialization Errors
14.5.2 Main processing errors