commit 7fb0e9f06d56266d2fb8e07bdac7c17b8cf013d0
parent b3e0725c444b6685150b2928598fc70167cd03ee
Author: Samdal <samdal@protonmail.com>
Date: Mon, 14 Nov 2022 00:31:10 +0100
small chagnes
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -19,8 +19,8 @@ nisse __
### Typesystem:
- Entries starting with any of `1234567890-.` are interpreted as numbers
- And if the number contains a `.` it is considered a float
-- Entries starting with \` are a multiline raw string \`like this\`
- - They can contain raw newlines, does not support escaped characters.
+- Entries starting with \` are a raw strings \`like this\`
+ - They can contain raw new lines and other characters, does not support escaped characters.
- Entries starting with `(` are arrays, and they are ended with a `)`
- Other entries are interpreted as whitespace delimited words
diff --git a/nisse.h b/nisse.h
@@ -77,11 +77,11 @@ extern int nisse_nde_fits_format(nde_t* nde, nde_t* fmt);
// > will check if anonymous variables have the right type for their given index in nde
// > (direct index in nde, not like in c literals)
// > if it is anonymous and fmt has tagged array at that index with a single variable,
-// > it will check those instead
+// > it will check them instead
// else:
// > check if type is the same
-extern nde_t* nisse_nde_get_value(nde_t* nde, int* len); // returns nde->nde + 1 if nde is string
+extern nde_t* nisse_nde_get_value(nde_t* nde, int* len); // returns nde->nde + 1 if nde->nde is string
extern nde_t* nisse_nde_get_tagged(nde_t* nde, const char* tag);
extern nde_t* nisse_nde_get_index(nde_t* nde, int index); // has bounds checking