From 0151e8a3ded1d8e5c2b3be3dd1da7ae85543be6c Mon Sep 17 00:00:00 2001 From: khartlage Date: Mon, 17 Feb 2003 21:43:54 +0000 Subject: [PATCH] changed name of Scanner tokens to names similar in the JDT --- .../phpeclipse/phpeditor/phpparser/PHPParser.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpparser/PHPParser.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpparser/PHPParser.java index c6f4d3f..bf6944a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpparser/PHPParser.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/phpparser/PHPParser.java @@ -139,7 +139,7 @@ public class PHPParser extends PHPKeywords { final static int TokenNameSTRING_CONSTANT = 154; final static int TokenNameLEFT_SHIFT = 155; - final static int TokenNameRSHIFT = 156; + final static int TokenNameRIGHT_SHIFT = 156; final static int TokenNameEX_EQUAL = 157; final static int TokenNameEX_UNEQUAL = 158; final static int TokenNameLINE = 159; @@ -605,7 +605,7 @@ public class PHPParser extends PHPKeywords { } if (str.charAt(chIndx) == '>') { chIndx++; - token = TokenNameRSHIFT; + token = TokenNameRIGHT_SHIFT; if (str.length() > chIndx) { if (str.charAt(chIndx) == '=') { chIndx++; @@ -1129,7 +1129,7 @@ public class PHPParser extends PHPKeywords { } if (str.charAt(chIndx) == '>') { chIndx++; - token = TokenNameRSHIFT; + token = TokenNameRIGHT_SHIFT; if (str.length() > chIndx) { if (str.charAt(chIndx) == '=') { chIndx++; @@ -3138,7 +3138,7 @@ public class PHPParser extends PHPKeywords { private void shiftExpression() throws CoreException { do { additiveExpression(); - if (token != TokenNameLEFT_SHIFT && token != TokenNameRSHIFT) { + if (token != TokenNameLEFT_SHIFT && token != TokenNameRIGHT_SHIFT) { return; } getNextToken(); -- 1.7.1