fholm / IronJS

IronJS - A JavaScript implementation for .NET
http://ironjs.wordpress.com
Apache License 2.0
680 stars 79 forks source link

Line Numbers Incorrect #110

Open wewake4 opened 7 years ago

wewake4 commented 7 years ago

Hi,

I am getting Parser Exception Line Numbers wrongly.

'use strict'; var mainScript = { whileApplicationRunTimer: 1000 whileApplicationRun: function () { }, onApplicationUnload: function () { } };

, is missing in Line 3 but Exception gives the line no as Line 4 Column 1. My C# code try { var ctx = new IronJS.Hosting.CSharp.Context(); ctx.Execute(richTextBox1.Text); } catch (Exception ex) { }

Please let me know is their any issue with my implementation.