This page provides the solution to the following warning in the log file which you may get while analyzing power builder source code
syntax error
global type m_ — from m_i-
end type
type m_- from menu within m_tools
------------^
end type
type m_ -1 from menu within m_tools
end type
Screen shot is shown below
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 | |
CSS1 |
- Package the source code
- Run the analysis
Open CAST-MS, go to the power builder analysis unit and check the highlighted check box which will prevent the syntax error which is coming in the analysis log.
In the below official documentation, it can be seen thatDashes in identifiers allowed This option is identical to the PowerBuilder option of the same name. Activating this option (the option is activated by default) will force the analyzer to take into account code that includes dashes in identifiers. For example:
int -Myvarint aa = a - -Myvar
If the option is deactivated, the above code would produce syntax errors and will not be correctly interpreted by the analyzer.
The syntax error is an expected behavior, unless you check this checkbox.
Ticket # 8432