Fixed issue with single include generator
- well, partially. The problem is it is matching /* … */ comments by assuming the intervening lines begin with whitespace followed by a *. This avoids it having to maintain extra state, but makes it brittle.
It was matching *it = " " + *it; as a comment!
It now matches on a single space followed by a  * and this seems to work for now - but it probably needs to move to proper stateful comment handling.
1 file changed
tree: a4634f761468ccdaab4e7cae7e7df9db35ada057
  1. docs/
  2. include/
  3. projects/
  4. scripts/
  5. single_include/
  6. .gitattributes
  7. .gitignore
  8. .travis.yml
  9. catch-logo-small.png
  10. LICENSE_1_0.txt
  11. README.md
README.md

catch logo

v1.0 build 52 (master branch)

Build status (on Travis CI) Build Status

Please see this page if you are updating from a version before 1.0

What's the Catch?

Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.

How to use it

This documentation comprises these three parts:

The documentation will continue until morale improves

More