summaryrefslogtreecommitdiff
path: root/nn/tools/api/README.md
diff options
context:
space:
mode:
authorSlava Shklyaev <slavash@google.com>2020-06-23 13:00:39 +0100
committerSlava Shklyaev <slavash@google.com>2020-06-25 16:29:49 +0100
commitf1c5f04cce9359f51bb74085807b1a7e7d84f167 (patch)
tree306719dbaaba4811fd53b19690a73b8affe87ed1 /nn/tools/api/README.md
parente941d7c787df84718e89ee57e6f71850d539cf6a (diff)
downloadml-f1c5f04cce9359f51bb74085807b1a7e7d84f167.tar.gz
Clarify control flow shape constraints
Bug: 156918813 Bug: 158557728 Test: generate_api.sh Change-Id: I49f0903a4576fdc9d1a41139940d5fd31c99329f
Diffstat (limited to 'nn/tools/api/README.md')
-rw-r--r--nn/tools/api/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/nn/tools/api/README.md b/nn/tools/api/README.md
index e059821e8..fe4dd482f 100644
--- a/nn/tools/api/README.md
+++ b/nn/tools/api/README.md
@@ -127,8 +127,10 @@ generated output file.
#### `%define *name* *body*`
Defines a macro identified by the token *name*. The *body* is separated from
-the *name* by whitespace, and extends to the end of the line -- it may contain
-whitespace itself.
+the *name* by exactly one whitespace character, and extends to the end of the
+line -- it may contain whitespace itself. For example,
+
+ %define test this body begins and ends with a space character
Macro substitution occurs within a definition region or a section region: a
substring `%{*name*}` is replaced with the corresponding *body*. Macro