Hi,
I have added your report to the BUG list.
(http://www.gnu.org/software/global/bugs.html)
Your report is perfect.
Thank you.

> Hello all!
> 
> Such an expression in PHP code:
> ------------------
> `ls ~/*`
> -----------------
> produces an error in gtags-parser: unexpected end of comment.
> 
> What did You do:
> ---------------
> echo '<?php echo `ls ~/*`; ?>' >test.php
> gtags
> --------------
> 
> What did you expect from it?
> ---------------
> No output and some non-empty files GPATH  GRTAGS  GSYMS  GTAGS
> 
> What was occured? (as is)
> --------------------
> gtags-parser: unexpected end of comment.
> gtags: command failed in xargs_read().
> ------------------
> 
> I use GNU GLOBAL 5.7.1 from Ubuntu 10.4
> 
> Of course, replacement of  back-ticks to 'shell_exec' function solves the
> problem,
> but I think that as long the back-tick operator is still supported in PHP i=
> t
> should be supported in gtags-parser also.
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to