1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Getting the Compiler:Error-Row when the compile error occurs in an include file

Discussão em 'StackOverflow' iniciado por fdantas, Setembro 10, 2017.

  1. fdantas

    fdantas Administrator Moderador

    Does anybody know whether it's possible to get the error-row of a file being compiled when the error occurs in an include file?

    For example, I'm compiling a file, say abc.p, that uses def.i all over the place. At some point, I make a change to abc.p that causes a compile error in one of the includes, so the message says that the error occurred at line 123 of def.i, but I want to know at which line in abc.p that is. In other words, the line number where the offending include file is used.

    Even though "Compiler:Get-File-Name(n)" returns def.i and "Compiler:File-Name" returns abc.p, both "Compiler:Get-Row(n)" as well as "Compiler:Error-Row" returns the line number in def.i.

    Any ideas?

    Continue reading...

Compartilhe esta Página