[ jedit-Plugin Bugs-1598381 ] phpparser: \"Invalid escape character\" with \"\\u\" somewhere

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ jedit-Plugin Bugs-1598381 ] phpparser: \"Invalid escape character\" with \"\\u\" somewhere

SourceForge.net
Plugin Bugs item #1598381, was opened at 2006-11-17 15:22
Message generated for change (Settings changed) made by kpouer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1598381&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: daniel hahler (blueyed)
>Assigned to: Matthieu Casanova (kpouer)
>Summary: phpparser: \"Invalid escape character\" with \"\\u\" somewhere

Initial Comment:
With a PHP file like:
---------------------
<?php
$foo = '\u';
?>
---------------------
the following exception occurs:

[error] WorkThread: Exception in work thread:
[error] WorkThread: java.lang.Error: Invalid escape character at line 2 column 10.
[error] WorkThread:  at gatchan.phpparser.parser.JavaCharStream.readChar(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.JavaCharStream.BeginToken(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParserTokenManager.getNextToken(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.jj_ntk(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.Php(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.PhpBlock(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.phpFile(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] WorkThread:  at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] WorkThread:  at sidekick.SideKick$ParseRequest.run(SideKick.java:467)
[error] WorkThread:  at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] WorkThread:  at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] WorkThread:  at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1598381&group_id=588

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel