Skip to content
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

Parser fails on C++ operator overloads #18

Closed
daniel-starke opened this issue Jan 6, 2019 · 2 comments
Closed

Parser fails on C++ operator overloads #18

daniel-starke opened this issue Jan 6, 2019 · 2 comments

Comments

@daniel-starke
Copy link

daniel-starke commented Jan 6, 2019

Trying to comment a C++ method like

constexpr inline bool operator!= (const A & o) const {
	return this->value != o.value;
}

fails with the error message "Error: Cannot parse function definition. Make sure the cursor is on the line directly above the function or method definition.".

@dail8859
Copy link
Owner

I've made an update that appears to fix this issue. I'm planning on doing a release at some point, but until then you can download this recent build to verify it works for you.

Download one of the DLLs for your version and copy over your existing DoxyIt.dll file. If you are using the 64 bit version your existing file might be called DoxyIt_64.dll but go ahead and replace it with the one you downloaded.

@daniel-starke
Copy link
Author

Thank you. It is now working as expected.

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

No branches or pull requests

2 participants