Skip to content

Add C++11 keywords #195

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

Merged
merged 12 commits into from
Jun 2, 2016
Merged

Add C++11 keywords #195

merged 12 commits into from
Jun 2, 2016

Conversation

jwillemsen
Copy link
Contributor

* lib/coderay/scanners/cpp.rb:

    * lib/coderay/scanners/cpp.rb:
@jwillemsen
Copy link
Contributor Author

The travis failure looks independent of my changes, rake doesn't support the old ruby versions

@korny
Copy link
Member

korny commented Mar 10, 2016

Awesome, thanks! Funny that they are still adding keywords to that language. Do you have some example code for the test suite?

@jwillemsen
Copy link
Contributor Author

Yes, I can add some example code but I can't find the test for cpp, could you maybe point me to it?

    * FOLDERS:
@korny
Copy link
Member

korny commented Mar 12, 2016

    * lib/coderay/scanners/cpp.rb:
@jwillemsen
Copy link
Contributor Author

Done, will create a separate pull request

@jwillemsen
Copy link
Contributor Author

Added rubychan/coderay-scanner-tests#9

@jwillemsen
Copy link
Contributor Author

Looks the failing check has nothing todo with my change

@korny
Copy link
Member

korny commented Apr 3, 2016

Failing tests should be fixed on master, can you update your branch again please?

@jwillemsen
Copy link
Contributor Author

Done, thanks for resolving this on master, now this is again green!

@jwillemsen
Copy link
Contributor Author

Anything you need in addition from my side?

@jwillemsen
Copy link
Contributor Author

Fixed merge conflict

@jwillemsen
Copy link
Contributor Author

Ok, travis-ci now allows again C extensions but looks RedCloth has another problem :-(

@jwillemsen
Copy link
Contributor Author

Ok, allowed failure for jruby18/19 because of the RedCloth problem, now this pull request is passed on Jenkins and has no conflicts

#-- http://www.cppreference.com/wiki/keywords/start
KEYWORDS = [
'and', 'and_eq', 'asm', 'bitand', 'bitor', 'break',
'case', 'catch', 'class', 'compl', 'const_cast',
'continue', 'default', 'delete', 'do', 'dynamic_cast', 'else',
'enum', 'export', 'for', 'goto', 'if', 'namespace', 'new',
'enum', 'export', 'final', 'for', 'goto', 'if', 'namespace', 'new',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final is a directive, I think.

@korny
Copy link
Member

korny commented May 29, 2016

Sorry for the delay. I also updated the list of Rubies in the Travis config file, so master is green now. Can you merge again, please?

@korny korny self-assigned this May 29, 2016
    * .travis.yml:
@jwillemsen
Copy link
Contributor Author

Merged upstream master again into my tree, resolved merge conflicts

@korny korny merged commit 7e330ab into rubychan:master Jun 2, 2016
korny added a commit that referenced this pull request Jun 2, 2016
@korny
Copy link
Member

korny commented Jun 2, 2016

Thank you :)

@jwillemsen
Copy link
Contributor Author

Thanks for accepting them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants