Fix comments and newlines within operator definitions

Fix handling of conversion operators where the operator is split over multiple lines or
has comments within the operator type.

Also fix similar problem with normal operators which gave a syntax error if split over
multiple lines or had a comment within the operator declaration.

Closes #401
This commit is contained in:
William S Fulton 2015-05-01 19:20:22 +01:00
commit cf29b90a2b
5 changed files with 78 additions and 1 deletions

View file

@ -156,6 +156,7 @@ CPP_TEST_CASES += \
conversion \
conversion_namespace \
conversion_ns_template \
conversion_operators \
cplusplus_throw \
cpp_basic \
cpp_enum \