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

Bug 341830

Summary: Invalid errors when server side code included in <script> region
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: WebAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.0.5Flags: thatnitind: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch
none
Updated patch none

Description Chris Jaun CLA 2011-04-04 14:37:46 EDT
<script>
<!--

function fun1(parm){
	fun2(parm);
	alert(parm);
	return;
}

function fun2(parm2){
	<% if(true) {} %>
	alert(parm2);
	return;
}

// -->

</script>


  - Missing semicolon
    - Syntax error on token "_$tag___________________________",
     { expected
Comment 1 Chris Jaun CLA 2011-04-04 14:38:48 EDT
Created attachment 192493 [details]
patch

This is a backport of changes already in 3.2.4 and HEAD.
Comment 2 Chris Jaun CLA 2011-04-06 15:51:36 EDT
Nitin, why did you unreview this?
Comment 3 Chris Jaun CLA 2011-04-06 16:32:35 EDT
Created attachment 192672 [details]
Updated patch
Comment 4 Carl Anderson CLA 2011-04-08 10:53:54 EDT
Committed to R3_0_5_patches