Comentários: separadores com no máximo "---"
Trechos com quatro ou mais hífens dentro de comentários viram "---" (strings não mudam). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
374b445a8f
commit
80bd330766
40 files changed
+137
-137
No files matched your search
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LIST_MAX_RANGE 100000
|
||||
|
||||
/* -- Itens ---------------------------------------------------------------- */
|
||||
/* -- Itens --- */
|
||||
|
||||
static bool text_number(const char* s, double* out) {
|
||||
while (isspace((unsigned char)*s)) s++;
|
||||
@@ -101,7 +101,7 @@ static bool item_equal(const TinyBlocks_JsonValue* a, const TinyBlocks_JsonValue
|
||||
return strcasecmp(sa, sb) == 0;
|
||||
}
|
||||
|
||||
/* -- Listas --------------------------------------------------------------- */
|
||||
/* -- Listas --- */
|
||||
|
||||
static void push_owned(TinyBlocks_JsonValue* arr, TinyBlocks_JsonValue* item) {
|
||||
if (!item) return;
|
||||
@@ -163,7 +163,7 @@ static TinyBlocks_JsonValue* list_copy(const TinyBlocks_JsonValue* src, uint32_t
|
||||
return arr;
|
||||
}
|
||||
|
||||
/* -- Entradas/saidas ------------------------------------------------------ */
|
||||
/* -- Entradas/saidas --- */
|
||||
|
||||
static TinyBlocks_JsonValue* in_list(TinyBlocks_Block* self, TinyBlocks* rt, uint32_t i) {
|
||||
return tb_vector_from_value(tb_block_get_input(self, rt, i));
|
||||
@@ -188,7 +188,7 @@ static void out_int(TinyBlocks_Block* self, long long n) {
|
||||
self->dirty = false;
|
||||
}
|
||||
|
||||
/* -- Blocos --------------------------------------------------------------- */
|
||||
/* -- Blocos --- */
|
||||
|
||||
static void eval_empty(TinyBlocks_Block* self, TinyBlocks* rt) {
|
||||
(void)rt;
|
||||
@@ -409,7 +409,7 @@ static void eval_sum(TinyBlocks_Block* self, TinyBlocks* rt) {
|
||||
self->dirty = false;
|
||||
}
|
||||
|
||||
/* -- Listas com nome (comandos que mudam a lista, como no Scratch) -------- */
|
||||
/* -- Listas com nome (comandos que mudam a lista, como no Scratch) --- */
|
||||
|
||||
#define NAMED_MAX 64
|
||||
typedef struct { char name[64]; TinyBlocks_JsonValue* arr; } NamedList;
|
||||
@@ -554,7 +554,7 @@ static void eval_from(TinyBlocks_Block* self, TinyBlocks* rt) {
|
||||
out_list(self, tb_vector_from_value(v));
|
||||
}
|
||||
|
||||
/* -- Registro ------------------------------------------------------------- */
|
||||
/* -- Registro --- */
|
||||
|
||||
static bool reg(TinyBlocks* rt, TinyBlocks_LibraryBlock* lib, const char* name,
|
||||
const TinyBlocks_SlotDesc* in, uint32_t ni,
|
||||
|
||||
Reference in new issue
Block a user