From 62cd71b723ae09289c6f8c23c9da1b3454f0ffc3 Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Wed, 17 Apr 2019 20:13:00 +0200 Subject: [PATCH] Update the limitations section --- README.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index acd0bd8f..135ae307 100644 --- a/README.markdown +++ b/README.markdown @@ -85,8 +85,10 @@ Use `-h` for usage information. Any flags recognized by Clang can be used. ## Limitations/Known issues -* Doesn't translate preprocessor macros, with exception to simple constants and functions. -* Doesn't translate `#include` to `import`. A few standard C headers are translated +* Supports translating some of the preprocessor, like: `#define` for simple + constants, function like macros and the token concatenation operator (`##`) +* Doesn't translate `#include` to `import`. Imports for a few standard C headers + are added automatically * Doesn't translate C++ at all * Umbrella headers. Some headers just serve to include other headers. If these other headers contain some form of protection, like `#error`, to be included directly this can cause problems for DStep * Some headers are designed to always be included together with other header files. These headers may very well use symbols from other header files without including them itself. Since DStep is designed to convert header files one-by-one this doesn't work. There are two workarounds for this: