Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 500004

Summary: [acorn][eslint] No syntax error on unterminated comment
Product: [ECD] Orion Reporter: Olivier Thomann <Olivier_Thomann>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, Michael_Rennie
Version: 12.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2016-08-19 14:47:16 EDT
The following code doesn't report any error. It should report an unterminated comment error.
-----------------------------
var foo = 10;/* 
-----------------------------
Comment 1 Olivier Thomann CLA 2016-08-19 14:47:58 EDT
I'll investigate it once I adopted acorn 3.3.0.
Comment 2 Olivier Thomann CLA 2016-08-22 11:36:43 EDT
The problem doesn't come from acorn, but it comes from orionAcorn.js where we "override" the skipBlockComment call. This call never calls the acorn function when the comment is not complete.
Working on a fix.