Skip to content

Allow operator/ and operator/= documentation to be merged. #54

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhdunn
Copy link
Contributor

@rhdunn rhdunn commented Jul 10, 2014

This is a fix for documenting operator/ and operator/= in markdown. For example:

struct vector {
    const vector &operator/=(int scalar);
};

vector operator/(const vector &v, int scalar);

The XML/tree construction is working for this case. However, given the markdown:

#<cldoc:vector::operator/=>

Description.

#<cldoc:operator/>

Description.

The program fails with e.g. Unknown type '=' for id 'operator'. This patch prevents that issue.

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

Successfully merging this pull request may close these issues.

2 participants