# Unreal Header Tool - Parsing for comment "/\*// s"

**URL:** <https://forums.unrealengine.com/t/unreal-header-tool-parsing-for-comment-s/315916>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [April 22, 2015, 6:07am UTC](https://forums.unrealengine.com/t/unreal-header-tool-parsing-for-comment-s/315916 "2015-04-22T06:07:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry.Kim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Harry.Kim](https://forums.unrealengine.com/u/Harry.Kim)\
**Post date:** [April 22, 2015, 6:07am UTC](https://forums.unrealengine.com/t/unreal-header-tool-parsing-for-comment-s/315916/1 "2015-04-22T06:07:02Z")

</div>

Hi,

I use comment like `/* //` s which use both comment `'/*'`, and `'//'` together for specific purpose.

1. It is okay to compile if it’s in cpp file
2. It cause compilation error from Unreal Header Tool, if it’s in header file

In summary, Unreal Header Tool cause the compilation error with following code

```
/*// s
UCLASS(collapsecategories)
*/// e 
UCLASS(collapsecategories, MinimalAPI)

```

Thanks,

- Harry

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [April 22, 2015, 2:47pm UTC](https://forums.unrealengine.com/t/unreal-header-tool-parsing-for-comment-s/315916/2 "2015-04-22T14:47:13Z")

</div>

Hey Harry.Kim-

I was able to reproduce the compile error using multi-line and single line comments in conjunction. The problem seems to come from the single line comment that follows the close of the multi-line comment. This has been bugged (UE-14227) for further investigation. As a workaround you can avoid the compile error by including a space between the end of the multi-line comment and the following single line comment.

Cheers
