git://secure.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed bug for line comments starting with '#=' characters and detecting wrong '/...
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
net
/
sourceforge
/
phpdt
/
internal
/
compiler
/
parser
/
Scanner.java
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java
index
7d96e62
..
655dcef
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Scanner.java
@@
-1528,7
+1528,7
@@
public class Scanner implements IScanner, ITerminalSymbols {
case '#':
case '/': {
char startChar = currentCharacter;
- if (getNextChar('=')) {
+ if (getNextChar('=') && startChar=='/') {
return TokenNameDIVIDE_EQUAL;
}
int test;