New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pascal: Use separate kind for type
identifiers
#2360
base: master
Are you sure you want to change the base?
Conversation
I need to update bug612019.pas.tags. |
If the parser has already diverged from upstream as suggested in the (edited) description, then while it would be nice to sync all the changes back upstream, it probably shouldn't be a blocker for this PR to do it. |
Well, if local changes are not pushed upstream it will never get synced, and I said nothing about it being a blocker for this. |
You said @ntrel needs to push upstream, but it sounds like it was already diverged, so IMO he doesn't have to do it (inferred "for this PR"), just that ideally "someone" would do it eventually. |
Any inference that I said this PR should depend on upstream accepting the change is incorrect, I didn't say that at all. This PR is to fix a crash (see #2358) so a short term local patch is acceptable, but if changes are not pushed upstream then Geany will permanently diverge again. |
Not just whether or not they accept the changes, the act of someone going through the forked parser and upstream parser and manually syncing any unrelated changes is out of scope for this PR, IMO.
The description mentions that they've already diverged, so the Pascal parser was already out of sync and permanently diverged (until someone syncs it). |
And thats why it needs some annoying guy to keep mentioning it :) |
Not really, it's possible it does but that wasn't the main reason.
Parsing the first identifier after |
I've made universal-ctags/ctags#2241 but that needs ctags tests. |
Geany has implemented reading an identifier straight after the
type
keyword. Universal ctags doesn't have this. This pull uses a separate tag kind, instead of (ab)using the function kind.May be relevant to #2358 (which I can't reproduce on Windows).