-
Notifications
You must be signed in to change notification settings - Fork 631
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
RFC: SystemVerilog extension in the verilog parser #33
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nd a hash. For instance, MyClass#init. This is useful for disambiguation, similar to how the C language tag Mfilename points to main() in filename.
… tags for methods. This makes it much easier for me to jump to tags in Vim using ^] on the current word.
ObjC Method Tags
Support the s: and fx: namespaces. Corrected parsing of other namespace objects. They will not be tagged, but they will be parsed correctly. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@755 c5d04d22-be80-434c-894e-aa346cc9e8e8
When parsing an Oracle package, the function prototypes did not have the appropriate scope added to the tags. Test case used is: test/bug2961855.sql. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@756 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@757 c5d04d22-be80-434c-894e-aa346cc9e8e8
…gcc does. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@758 c5d04d22-be80-434c-894e-aa346cc9e8e8
The scope changes unfortunately also picked up OWNER and CREATOR names of functions and procedures. So the scope changes should only be picked up if we are inside a PACKAGE first. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@760 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@761 c5d04d22-be80-434c-894e-aa346cc9e8e8
Vim parser did not handle an invalid 'command' format and hung". Now it handles and checks for these formats: command. command!. comma!. comma! ThisIsValid git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@762 c5d04d22-be80-434c-894e-aa346cc9e8e8
var x = 1; var y = []; var z = {}; Only x and y are detected - z is ignored, despite this being perfectly valid syntax (and quite common, when initialising a variable for use as a hash table). [It's equivalent to z = new Object(), in a similar fashion to y = [] being equivalent to y = new Array() ]. As far as I can tell, the cause seems to be that object literals are not being considered as valid for the right hand side of an assignment. Now, global variables for z is generated for the release after 5.8. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@763 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@764 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@765 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@766 c5d04d22-be80-434c-894e-aa346cc9e8e8
…ation contained elsewhere. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@767 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@768 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@769 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@770 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@772 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@773 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@774 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@775 c5d04d22-be80-434c-894e-aa346cc9e8e8
Apply patch from Colomban Wendling to parse Python lambda functions (thanks) - modified to only parse toplevel or class member lambdas. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@776 c5d04d22-be80-434c-894e-aa346cc9e8e8
When checking for literal strings to ignore, consider also unicode, binary and raw strings. git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@777 c5d04d22-be80-434c-894e-aa346cc9e8e8
git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@778 c5d04d22-be80-434c-894e-aa346cc9e8e8
Closed
This reduces the size of the executable with 50%. Note that this does not affect dctags.exe, the debug build
Signed-off-by: Masatake YAMATO <[email protected]>
…into ntrel-regex-callback-count
…h breaks the target command execution Signed-off-by: Masatake YAMATO <[email protected]>
Also fixes context string generation.
Parser was skipping to known start/end-of-statement characters before starting to find tags. When using named blocks, something like the following can happen: initial begin : myblock reg var; If the parser waits for ; to start searching for a new tag, then "var" is missed.
Include a `define with value and a comma separated list of parameters.
…master Conflicts: verilog.c
Only includes extra support for "logic" register data type and "class".
This pull request no longer makes sense. |
masatake
pushed a commit
to masatake/ctags
that referenced
this pull request
Mar 12, 2020
Fix build on mingw
masatake
added a commit
to masatake/ctags
that referenced
this pull request
Jun 10, 2021
43934f352 Improve makefiles 29a2a1b06 Support gcc for IBM AIX 53aefcb47 Update README.md 6035daaba Change macro to check for size_t byte size 6015afca6 Fix universal-ctags#34 dfc33e6bf Merge pull request universal-ctags#33 from dolik-rce/test-improvements 8176c6492 fix uncrustify version check fa144ef7c properly quote load statements df95cbde7 refactor test utils 1ff5f9100 test --ascii option e54a94c03 avoid copying calc.peg into test directories a6a7ef719 test grammar dump (--debug option) f1323e5ec display coverage 223b264fa allow options in CC environment variable git-subtree-dir: misc/packcc git-subtree-split: 43934f35254c08f0827801f80bbbec0e03c69fe0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This request serves only as a platform for discussing the SystemVerilog extension in the verilog parser.
At the moment I'd like to open the following two discussion points:
Thanks,
Vitor