From: NeilBrown Date: Sun, 17 Oct 2021 09:29:16 +0000 (+1100) Subject: oceani: fix some incorrect section headers. X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=commitdiff_plain;h=5a46557efc87c72f5c80ddd978e90d1a376a3429 oceani: fix some incorrect section headers. section header that just introduce code are 6 deep, not 2. Signed-off-by: NeilBrown --- diff --git a/csrc/oceani.mdc b/csrc/oceani.mdc index b83f6bc..af2e8b9 100644 --- a/csrc/oceani.mdc +++ b/csrc/oceani.mdc @@ -592,11 +592,11 @@ later. In some cases a Boolean can be accepted as well as some other primary type, and in others any type is acceptable except a label (`Vlabel`). A separate function encoding these cases will simplify some code later. -## type functions +###### type functions int (*compat)(struct type *this, struct type *other); -## ast functions +###### ast functions static int type_compat(struct type *require, struct type *have, int rules) {