Comments (4)
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.
Cannot reproduce the multi-line comment part
can you provide example code where this happens?
from runtime.
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.
Fixed in 7c49585
from runtime.
Related Issues (20)
- [BUG] compileFinal keyword does not compile correctly
- Make Pre- and Post- increment/decrement operators work on all types
- [BUG] SQC ">=" not working
- [BUG] CLI shows the renamed vm__ internal command
- [BUG] Null config causes fatal error on config commands HOT 2
- [BUG] Config select selects in the configFile hierarchy HOT 1
- [BUG] configClasses returns properties HOT 1
- [BUG] Infinite while loops
- [BUG] Scheduled executes with blocked unscheduled HOT 1
- [BUG] Sorting of nested arrays is broken
- [BUG] Include files are included from current directory rather than file directory HOT 5
- Implement IsServer HOT 1
- [Feature] Support CfgFunctions natively HOT 3
- [Feature] Support referencing functions via virtual path
- text implementation HOT 2
- Simplify calling of SQF code from the CLI HOT 3
- Implement missing preprocessor commands & macros
- [BUG] Passing a non-existent file as --input-pbo results in that file being created
- [BUG] `If` statement partially broken in `development` branch
- [BUG] `--cli-file` command line parameter broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtime.