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

.tex file is wrong when generating a function whose name includes an underline (Origin: bugzilla #784322) #6224

Closed
doxygen opened this issue Jul 2, 2018 · 1 comment

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status NEW severity normal in component general for ---
Reported in version 1.8.14-GIT on platform Other
Assigned to: Dimitri van Heesch

On 2017-06-29 07:14:46 +0000, eden wrote:

When I define a function like this:

```
/**
  Simple Test Class
 */
@interface Test: NSObject {

/**
 * augument name has an underline
 */
-(int)create_test:(type_test *)client
         argument_underline:(char *)argument_underline;

@end

```
It generates a file called interfaceTest.tex. When I use 'make -C latex', it
stops at

```
! Missing $ inserted.
<inserted text> 
                $
l.28 ...:(char $\ast$)}]{argument\+\_\+underline }
                                                  \end{DoxyParamCaption}}

```

I checked the file interfaceTest.tex, and I found this line:

```
{\footnotesize\ttfamily -\/ (int) create\+\_\+test\+:
\begin{DoxyParamCaption}\item[{(type\+\_\+test $\ast$)}]{client
}\item[{argument_underline:(char $\ast$)}]{argument\+\_\+underline
}\end{DoxyParamCaption}}
```

However, it should be 'argument\+\_\+underline' not 'argument_underline'

On 2018-06-27 14:07:39 +0000, albert wrote:

I've just pushed a proposed patch to github (pull request 779,
https://github.com/doxygen/doxygen/pull/779).
@doxygen doxygen added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Jul 7, 2018
@doxygen
Copy link
Owner Author

doxygen commented Dec 27, 2018

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.8.15.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 27, 2018
@doxygen doxygen closed this as completed Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants