We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e59c9e commit 5764262Copy full SHA for 5764262
tests/scripts/compile_commented_snippets.sh
@@ -31,7 +31,7 @@ git submodule update
31
32
{
33
cat entire_library_without_main
34
- sed --quiet '/\/\/! @code$/,/\/\/! @endcode$/{//!p;}' entire_library_without_main | sed 's/\/\/!//'
+ sed --quiet '/\/\/! @code$/,/\/\/! @endcode$/p' entire_library_without_main | sed 's/\/\/! @code/{/' | sed 's/\/\/! @endcode/}/' | sed 's/\/\/!//'
35
echo "return 0;"
36
echo "}"
37
} >entire_library.cpp
0 commit comments