Commit Graph

3 Commits

Author SHA1 Message Date
Gregory Nutt
a8da0e977a Addition of trivial comment 2019-01-22 13:04:02 -06:00
Gregory Nutt
b4373e21e7 tools/convert-comments.c: Fix an error in handling of a blank C++ comment before a comment block. For example, this testfile:
1
2  //
3  // Multi-line comment
4  // The second line
5

Was generating this output:

1
2
3   * Multi-line comment
4   * The second line
5   */
6

Now correctly generates:

1
2  /* Multi-line comment
3   * The second line
4   */
5
2019-01-22 10:45:06 -06:00
Gregory Nutt
e0608386f3 tools/convert-comments.c: Add a tool to convert C++-style comments to C89 C-style comments. 2018-12-01 19:15:54 -06:00