diff options
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -53,7 +53,13 @@ library of useful standard headers. The foundation has been laid for this because when `#include <...>` is used (angle bracket include), it looks in a subdirectory called `cppawk-include` which is in the same directory as itself. For instance if `cppawk` is `/usr/bin/cppawk`, it looks in -`/usr/bin/cppawk-include`. This library directory is currently empty. +`/usr/bin/cppawk-include`. + +There is currently a `<case.h>` header file which provides a portable +`case` statement which efficiently translates to a GNU Awk `switch` statement or +else to less efficient but portable code. Additionally, the `case` statement +requires clauses to be explicit about whether they fall through or break, which +makes it safer to use. ## Why? @@ -104,4 +110,3 @@ itself. For instance if `cppawk` is `/usr/bin/cppawk`, it looks in ::c #include FOO_LIB // conditionally-defined macro to select lib - |