cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

include() syntax errors give file name

If I am including a script

include("child.jsl")

and the child has an error in it 

x = aaa;

I get a nice error output

Name Unresolved: aaa in access or evaluation of 'aaa' , aaa/*###*/

at line 6 in some\path\child.jsl

But if the error is a syntax error

x = {"f", "d", }; // has an extra comma

then I don't get the information of where the error is located

Unexpected "}".
Trying to parse operand for "List" operator.
Line 5 Column 16: x = {"f", "d", ►};

I think it would be great if it told the file that is causing the error like a code error does.  

 

This  becomes even more apparently a problem if the include is 

x = {
	"f", 
	"d", 
};

Because then I get a very vague error message

Unexpected "}".
Trying to parse operand for "List" operator.
Line 8 Column 1: ►};
1 Comment
Status changed to: Acknowledged

Hi @vince_faller, thank you for your suggestion! We have captured your request and will take it under consideration.