-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support for ObjC Literals? #7
Comments
I'll upvote this as well. I looked at the parser and spent a little time trying to figure out how to add it, but my compilers class was 30 years ago and I've forgotten most of it. |
I'll just follow up and say that I'll be glad to help validate it. |
I am also having issue issues with @[ modern objective C syntax, unfortunately this makes it completely useless for me. Please can you fix it. |
Wondered why duplicates weren't being flagged. With logging enabled, I discovered that the parser is choking on Obj-C literals. This is a big setback for an otherwise wonderful tool! |
It looks like PR #10 might fix this issue, I haven't had a chance to try it yet. |
I was looking into this a little further. Looks like built-in Obj-C support was just released in PMD 5.3. http://pmd.sourceforge.net/pmd-5.3.0/overview/changelog.html I'm not positive it's successfully parsing all the files in my project yet, but it seems to have handled literal support by recognizing a bare '@' sign as an independent token. A very practical solution for the requirements of CPD. |
Are you planning to add support for Objective-C Literals?
The text was updated successfully, but these errors were encountered: