Wrong comment captures
GMishx opened this issue · 0 comments
GMishx commented
Nirjas currently gets confused if the comment is something like /*********/
or /* <comment> */
in C.
For example, following were marked as comments:
- https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L177-L203
- https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L201-L207 (the comment captured was
" ** Data returning functions "
) - https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L205-L1018
- https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L352-L1054 (captured `" ** XML encoding function ")
- https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L365-L1131
Also, http://
is marked as single line comment:
- https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L10 (captured
"/xdebug.org/license.php"
) - https://github.com/xdebug/xdebug/blob/192aba841a6332b09b475fa3926a5c5a6edf3071/src/lib/var.c#L1158 (captured
"/www.php.net/"
)