Consultor Eletrônico



Kbase P124174: Multi-line preprocessor or include file reference breaks Outline View.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/10/2007
Status: Unverified

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1B

SYMPTOM(s):

Procedure contains include file reference

Include file reference spans multiple lines

Outline view node for include file reference has code appended after closing curly bracket "}"

Outline view does not show code after include file reference as nodes

CAUSE:

This is expected behavior.

Any preprocessor directive spanning multiple lines is expected to include tildes ("~") to indicate line continuation. If this is omitted the preprocessor will not parse the directive correctly.
As a result, the Outline view will fail to handle such preprocessors which can cause a number of issues.

FIX:

Use the tilde ("~") as line delimiter in preprocessor directives and include file references that span multiple lines