Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 143912 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/jsp/core/internal/parser/internal/JSPTokenizer.java (-5 / +3 lines)
Lines 1-4 Link Here
1
/* The following code was generated by JFlex 1.2.2 on 5/9/06 8:02 PM */
1
/* The following code was generated by JFlex 1.2.2 on 5/29/06 10:16 PM */
2
2
3
/*******************************************************************************
3
/*******************************************************************************
4
 * Copyright (c) 2004, 2006 IBM Corporation and others.
4
 * Copyright (c) 2004, 2006 IBM Corporation and others.
Lines 37-43 Link Here
37
/**
37
/**
38
 * This class is a scanner generated by 
38
 * This class is a scanner generated by 
39
 * <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2
39
 * <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2
40
 * on 5/9/06 8:02 PM from the specification file
40
 * on 5/29/06 10:16 PM from the specification file
41
 * <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt>
41
 * <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt>
42
 */
42
 */
43
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts {
43
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts {
Lines 2239-2246 Link Here
2239
		return PROXY_CONTEXT;
2239
		return PROXY_CONTEXT;
2240
	}
2240
	}
2241
	// finished sanity checks
2241
	// finished sanity checks
2242
	fStateStack.push(yystate());
2242
	if(yystate()==YYINITIAL) {
2243
	if(fStateStack.peek()==YYINITIAL) {
2244
		// the simple case, just a regular scriptlet out in content
2243
		// the simple case, just a regular scriptlet out in content
2245
		if(Debug.debugTokenizer)
2244
		if(Debug.debugTokenizer)
2246
			dump("\nJSP comment start");//$NON-NLS-1$
2245
			dump("\nJSP comment start");//$NON-NLS-1$
Lines 3601-3607 Link Here
3601
			return BLOCK_TEXT;
3600
			return BLOCK_TEXT;
3602
		}
3601
		}
3603
		// required help for successive embedded regions
3602
		// required help for successive embedded regions
3604
		// required help for successive embedded regions, mark this one as white-space (it's a server-side comment) so it will be otherwise ignored
3605
		if(yystate() == ST_XML_TAG_NAME) {
3603
		if(yystate() == ST_XML_TAG_NAME) {
3606
			fEmbeddedHint = XML_TAG_NAME;
3604
			fEmbeddedHint = XML_TAG_NAME;
3607
			fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME;
3605
			fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME;
(-)DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex (-2 / +1 lines)
Lines 1878-1885 Link Here
1878
		return PROXY_CONTEXT;
1878
		return PROXY_CONTEXT;
1879
	}
1879
	}
1880
	// finished sanity checks
1880
	// finished sanity checks
1881
	fStateStack.push(yystate());
1881
	if(yystate()==YYINITIAL) {
1882
	if(fStateStack.peek()==YYINITIAL) {
1883
		// the simple case, just a regular scriptlet out in content
1882
		// the simple case, just a regular scriptlet out in content
1884
		if(Debug.debugTokenizer)
1883
		if(Debug.debugTokenizer)
1885
			dump("\nJSP comment start");//$NON-NLS-1$
1884
			dump("\nJSP comment start");//$NON-NLS-1$
(-)DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.java (-5 / +3 lines)
Lines 1-4 Link Here
1
/* The following code was generated by JFlex 1.2.2 on 5/9/06 8:02 PM */
1
/* The following code was generated by JFlex 1.2.2 on 5/29/06 10:16 PM */
2
2
3
/*******************************************************************************
3
/*******************************************************************************
4
 * Copyright (c) 2004, 2006 IBM Corporation and others.
4
 * Copyright (c) 2004, 2006 IBM Corporation and others.
Lines 37-43 Link Here
37
/**
37
/**
38
 * This class is a scanner generated by 
38
 * This class is a scanner generated by 
39
 * <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2
39
 * <a href="http://www.informatik.tu-muenchen.de/~kleing/jflex/">JFlex</a> 1.2.2
40
 * on 5/9/06 8:02 PM from the specification file
40
 * on 5/29/06 10:16 PM from the specification file
41
 * <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt>
41
 * <tt>file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex</tt>
42
 */
42
 */
43
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts {
43
public class JSPTokenizer implements BlockTokenizer, DOMJSPRegionContexts {
Lines 2239-2246 Link Here
2239
		return PROXY_CONTEXT;
2239
		return PROXY_CONTEXT;
2240
	}
2240
	}
2241
	// finished sanity checks
2241
	// finished sanity checks
2242
	fStateStack.push(yystate());
2242
	if(yystate()==YYINITIAL) {
2243
	if(fStateStack.peek()==YYINITIAL) {
2244
		// the simple case, just a regular scriptlet out in content
2243
		// the simple case, just a regular scriptlet out in content
2245
		if(Debug.debugTokenizer)
2244
		if(Debug.debugTokenizer)
2246
			dump("\nJSP comment start");//$NON-NLS-1$
2245
			dump("\nJSP comment start");//$NON-NLS-1$
Lines 3601-3607 Link Here
3601
			return BLOCK_TEXT;
3600
			return BLOCK_TEXT;
3602
		}
3601
		}
3603
		// required help for successive embedded regions
3602
		// required help for successive embedded regions
3604
		// required help for successive embedded regions, mark this one as white-space (it's a server-side comment) so it will be otherwise ignored
3605
		if(yystate() == ST_XML_TAG_NAME) {
3603
		if(yystate() == ST_XML_TAG_NAME) {
3606
			fEmbeddedHint = XML_TAG_NAME;
3604
			fEmbeddedHint = XML_TAG_NAME;
3607
			fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME;
3605
			fEmbeddedPostState = ST_XML_ATTRIBUTE_NAME;

Return to bug 143912