On 11/10/14 17:55, Lag Programming wrote: > Compile Project, Target: ConditionalJumpsAnalysis: Exit code 256, > Errors: 4, Warnings: 50, Hints: 2 > ConditionalJumpsAnalysis.lpr(31,2) Warning: Comment level 2 found > ConditionalJumpsAnalysis.lpr(59,10) Error: overloaded functions have the > same parameter list > ConditionalJumpsAnalysis.lpr(59,10) Error: Found declaration: > variabletype_passingmode_one(var LongInt;var LongInt):LongInt; > ConditionalJumpsAnalysis.lpr(61,10) Error: overloaded functions have the > same parameter list > ConditionalJumpsAnalysis.lpr(61,10) Error: Found declaration: > variabletype_passingmode_two(var LongInt;var LongInt):LongInt; > > Looking at the messages it appears that the syntax is checked after a > partial replacement. The "passingmode" within the parenthesis is > replaced but the one found in the function name is not, although they > are found within the same text line.
Macro's never replace text in the middle of an identifier. Jonas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
