cjprecord / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

[codebrowser] php - "?>" in strings stops parsing #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
codebrowser plugin - php part (may occur on other languages with similar
closing tags/behaviour)

see attached file for further info, the method "missing" is not showing in
codebrowser because in "not_missing2" there is a string with '?>' in it.
(at least that is what I suspect)

Original issue reported on code.google.com by patrik.p...@gmail.com on 28 May 2009 at 12:30

Attachments:

GoogleCodeExporter commented 9 years ago
Hello,

As asked in the template for this bug report...

What version of Editra are you using?

What version of the Codebrowser plugin are you using? (I remember this being an 
issue
in older version of it.)

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 28 May 2009 at 1:19

GoogleCodeExporter commented 9 years ago
hi, 
Im using Editra svn build 60785
codebrowser: afaik the latest aka 0.8

thanks 
 Patrik

Original comment by patrik.p...@gmail.com on 28 May 2009 at 5:53

GoogleCodeExporter commented 9 years ago
Reproduced,

PHP parser is not properly checking state of parse when looking for a bracket or
comment context while the parse is inside a string.

Original comment by CodyPrec...@gmail.com on 28 May 2009 at 8:51

GoogleCodeExporter commented 9 years ago
Fixed for version 0.9 of the plugin

Original comment by CodyPrec...@gmail.com on 29 May 2009 at 10:41