From b88d740aad4ec0cec0844cba6ec4d438f19654c7 Mon Sep 17 00:00:00 2001 From: Laurent Huberdeau Date: Fri, 18 Oct 2024 16:26:10 -0700 Subject: [PATCH] Update limitations and known issues in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e59062..6977567 100644 --- a/README.md +++ b/README.md @@ -110,12 +110,13 @@ Unfortunately, certains C constructs don't map nicely to POSIX shell which means - No support for floating point numbers and unsigned integers. - `goto` and `switch` fallthrough are not supported. - The address of (`&`) operator on local variables is not supported. +- Arrays and structures cannot be stack-allocated or passed by value. +- Function pointers and indirect calls. ## Known issues -- The preprocessor is not perfect and may fail on some edge cases. `#if` and `#elif` are not supported. `#include <...>` are ignored. - All local variable declarations must be at the beginning of a function. -- Aggregate types (arrays and structures) cannot be stack-allocated, passed by value or nested in a structure. +- Arrays and structures cannot be nested in a structure. ## Contributing