GithubHelp home page GithubHelp logo

Comments (4)

billw2012 avatar billw2012 commented on June 3, 2024

It looks like the line numbers also exclude comment lines. As in if there is a multi line comment 3 lines long before the error line, the reported line number is 4 less that it should be: -1 because it is 0 based, and -3 for the ignored comment lines. Error that should show on line 10 shows on line 6.

from runtime.

X39 avatar X39 commented on June 3, 2024

Cannot reproduce the multi-line comment part

can you provide example code where this happens?

from runtime.

billw2012 avatar billw2012 commented on June 3, 2024

I was wrong with the description it appears on multiline comments over more then a single line cause the problem.

// comment
/* comment
*
*
*
*/
test = { 
	error ?
};

gives error message:

 Executing task: sqfvm.exe -a --parse-only --load ./../../Project_0.Altis -i "c:\Users\billw\Documents\Arma 3\mpmissions\Project_0\Project_0.Altis\UI\test.sqf" <

        error ?
       ^
[ERR][L4|C7|c:\Users\billw\Documents\Arma 3\mpmissions\Project_0\Project_0.Altis\UI\test.sqf]   Expected '}'.
The terminal process terminated with exit code: 4294967295

Note it says L4, it should be L8.

from runtime.

X39 avatar X39 commented on June 3, 2024

Fixed in 7c49585

from runtime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.