[Github-comments] [geany/geany] Make geany -g tags output reproducible (#1989)

elextr notifications at xxxxx
Sat Nov 10 03:49:27 UTC 2018


> but having tools themselves more deterministic is still a plus, because it avoids having to patch all callers.

Sure, but its a workaround until Geany is changed.

Also in many cases the callers __should__ care which order files are included, for context sensitive languages like C/C++ knowing that an identifier is a type name is important to correct parsing.  So you want to control order so that the declaration of the type name is before the use.  Essentially you want things to be seen in the order that the compiler will see them.

So the files need to be explicitly specified in the correct order.

That means Geany should keep the order the same as the command line, except that where a command line item is a glob, it is expanded to all matching items.

This behaviour is deterministic so meets both requirements.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1989#issuecomment-437555783
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181109/44d1fe23/attachment.html>


More information about the Github-comments mailing list