-
Notifications
You must be signed in to change notification settings - Fork 620
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
Comments inline with properties breaks css.c parser #2
Comments
sorry i didn't actually see this error before is this still relevant? |
Add support for C++11 type alias with using keyword
@wesbaker |
I'm no longer using ctags, so I'm not sure if it's an issue anymore. |
Single quote in a comment triggers this bug. foo.css With this input ctags generates: a /tmp/foo.css /^a {x: 0; /'/}$/;" s Only a is tagged. bar.css, no single quote in the comment: a {x: 0; /**/} ctags generates good tags for this input: a /tmp/foo.css /^a {x: 0; /**/}$/;" s Both a and b are tagged. A pull request is welcome :-P |
I found the parser doesn't handle nested state like a { /**/ }, a comment in a definition. |
I add this as a test case named css-singlequote-in-comment-issue2.b. |
https://github.com/geany/geany/blob/master/tagmanager/ctags/nestlevel.h may be useful to deal with nested state. |
@b4n Can this be closed after the changes of yesterday? |
Fixed in dd86469 |
…g-anon-name C++: use vStringCopyS to create an anonymous identifier
8fad6d2f Merge pull request universal-ctags#2 from k-takata/use-priuptr 42c94176 Use PRIuPTR instead of SIZE_T_FMT_CHAR git-subtree-dir: misc/packcc git-subtree-split: 8fad6d2ff95c25fbe5de293275aded57d4965d30
When there's a comment inline with a property nothing after that selector and property is parsed into tags. For example, try this:
Any ideas on how to fix it?
Thanks,
Wes
The text was updated successfully, but these errors were encountered: