On 10/24/2017 07:15 PM, Walter Bright wrote:
On 10/24/2017 3:06 PM, Ali Çehreli wrote:
It would be very useful if the compiler could do that automatically.

On 10/24/2017 2:58 PM, qznc wrote:
 > The information is there just not expressed in a useable way.


The problem is how to display it in a text file with the original source code.


I wouldn't mind as ugly as needed. The following original code

    if (api1 == 1 && api2 == 2 ||
        api2 == 2 && api3 == 3) {
        foo();
    }

could be broken like the following and I wouldn't mind:

    if (api1 == 1 &&
api2 == 2 ||
        api2 == 2 &&
api3 == 3) {
        foo();
    }

I would go work on the original code anyway.

Ali

Reply via email to