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 it
should be supported in gtags-parser also.

-- 
Alexander Lelyakin
Institut für Kern- und Energietechnik
Forschungszentrum Karlsruhe GmbH

Email: [email protected]
Phone: +49(7247)824101
Fax  : +49(7247)824777
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to