From: Thomas Walker Lynch Date: Wed, 14 May 2025 15:24:11 +0000 (-0700) Subject: change directive #macro -> #rt_macro to disambiguate X-Git-Url: https://git.reasoningtechnology.com/style/static/gitweb.js?a=commitdiff_plain;h=ad9f13547be1011e84fe93f2d53f9bf9dfef190a;p=RT-gcc change directive #macro -> #rt_macro to disambiguate --- diff --git a/README.md b/README.md index ad30d42..442c17a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Environment variables are defined in `script🖉/environment.sh` — this file g --- -## The `#macro` and `#assign` Directives +## The `#rt_macro` and `#assign` Directives These are two experimental extensions to the C preprocessor (CPP), part of the **RT Extensions**. @@ -39,7 +39,7 @@ To enable them: --- -### `#macro` +### `#rt_macro` Defines a macro in standard ISO form, using token literal parsing and optional parameter substitution. Equivalent to a cleaner `#define`, with controlled multi-line support and macro parameter semantics. @@ -47,7 +47,7 @@ Defines a macro in standard ISO form, using token literal parsing and optional p ``` -directive ::= "#macro" name params body ; +directive ::= "#rt_macro" name params body ; name ::= identifier ;