Fix bug #1385272: Improved version for "Parsing of short open tags not fully compatib...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / core / compiler / ITerminalSymbols.java
index 8b6a74e..6440ffd 100644 (file)
@@ -1,10 +1,10 @@
 /**********************************************************************
  Copyright (c) 2002 IBM Corp. and others.
- All rights reserved.   This program and the accompanying materials
+ All rights reserved. � This program and the accompanying materials
  are made available under the terms of the Common Public License v0.5
  which accompanies this distribution, and is available at
  http://www.eclipse.org/legal/cpl-v05.html
-  
+ �
  Contributors:
  IBM Corporation - initial API and implementation
  **********************************************************************/
@@ -12,7 +12,7 @@ package net.sourceforge.phpdt.core.compiler;
 /**
  * Maps each terminal symbol in the php-grammar into a unique integer. This
  * integer is used to represent the terminal when computing a parsing action.
- * 
+ *
  * @see IScanner
  * @since 2.0
  */
@@ -99,18 +99,18 @@ public interface ITerminalSymbols {
   final static int TokenNamearrayCAST = 178;
   final static int TokenNameobjectCAST = 179;
   final static int TokenNameunsetCAST = 180;
-  
-  // ´
+
+  // �
   final static int TokenNameEncapsedString0 = 190;
   // '
-  final static int TokenNameEncapsedString1 = 191;
+//  final static int TokenNameEncapsedString1 = 191;
   // "
-  final static int TokenNameEncapsedString2 = 192;
-  
+//  final static int TokenNameEncapsedString2 = 192;
+
   final static int TokenNameSTRING = 193;
-  
+
   final static int TokenNameLBRACE_DOLLAR = 194;
-  
+
   // start SQL token - the SQL tokens are only used in the
   // PHPCompletionprocessor:
   public final static int TokenNameSQLselect = 901;
@@ -122,6 +122,13 @@ public interface ITerminalSymbols {
   public final static int TokenNameSQLset = 907;
   public final static int TokenNameSQLvalues = 908;
   // stop SQL token
+
+  /**
+   * Special 0-length token for php short tag syntax;
+   * Detected directly after <?=
+   */
+  public final static int TokenNameECHO_INVISIBLE = 990;
+
   public final static int TokenNameKEYWORD = 1000;
   public final static int TokenNameif = 1001;
   public final static int TokenNameelseif = 1002;
@@ -196,7 +203,7 @@ public interface ITerminalSymbols {
   public final static int TokenNameCLASS_C = 1072;
   public final static int TokenNameMETHOD_C = 1073;
   public final static int TokenNameFUNC_C = 1074;
-  
+
   // special tokens not normally used in the parser
   public final static int TokenNamethis_PHP_COMPLETION = 2000;
 }