jkennedy1980 / Objective-C-CPD-Language

A CPD language definition for use with Objective-C source code
http://deadmeta4.com/2011/05/17/objective-c-copy-paste-detection-using-jenkins/
MIT License
48 stars 60 forks source link

Refactoring and @autoreleasepool handling #1

Closed SevInf closed 12 years ago

SevInf commented 12 years ago

Hi!. I've patched your pom scripts and grammar a little. First of all I added javacc goal to your pom. So, parser will be autamatically generated be maven. Second, I've converted grammar file to unix line endigs. Third, I've added @autorealease keyowork to a grammar

jkennedy1980 commented 12 years ago

Hello Sergej,

I merged your pull request into the master. Thank you very much for helping out. I haven't started using @autoreleasepool yet because I'm so used to the old way :) Have a good weekend.

I did restore the 'releases' directory because it is a convenient place for people to download the jar without having to understand git and maven.

Thanks,

Josh Kennedy

On Feb 11, 2012, at 3:29 AM, Sergej Tatarincev wrote:

Hi!. I've patched your pom scripts and grammar a little. First of all I added javacc goal to your pom. So, parser will be autamatically generated be maven. Second, I've converted grammar file to unix line endigs. Third, I've added @autorealease keyowork to a grammar

You can merge this Pull Request by running:

git pull https://github.com/SevInf/Objective-C-CPD-Language master

Or you can view, comment on it, or merge it online at:

https://github.com/jkennedy1980/Objective-C-CPD-Language/pull/1

-- Commit Summary --

  • Refactored pom and grammar
  • Added @autoreleasepool handling

-- File Changes --

A .gitignore (14) M pom.xml (59) D releases/ObjCLanguage-0.0.1-SNAPSHOT.jar (0) D src/main/java/com/deadmeta4/cpd/generated/JavaCharStream.java (617) D src/main/java/com/deadmeta4/cpd/generated/ObjCParser.java (7953) D src/main/java/com/deadmeta4/cpd/generated/ObjCParserConstants.java (554) D src/main/java/com/deadmeta4/cpd/generated/ObjCParserTokenManager.java (6193) D src/main/java/com/deadmeta4/cpd/generated/ParseException.java (186) D src/main/java/com/deadmeta4/cpd/generated/Token.java (130) D src/main/java/com/deadmeta4/cpd/generated/TokenMgrError.java (146) D src/main/javacc-grammar/ObjC2.0.jj (2) A src/main/javacc/ObjC2.0.jj (1390)

-- Patch Links --

https://github.com/jkennedy1980/Objective-C-CPD-Language/pull/1.patch https://github.com/jkennedy1980/Objective-C-CPD-Language/pull/1.diff


Reply to this email directly or view it on GitHub: https://github.com/jkennedy1980/Objective-C-CPD-Language/pull/1