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:
mguinhosandClaude Opus 5.5 committed 2026-10-23 07:24:19 -03:00
1 parent 374b445a8f
commit 80bd330766
40 files changed
+137 -137

No files matched your search

@@ -10,7 +10,7 @@
TB_API const TinyBlocks_LibraryDescriptor* tb_regex_get_library(void);
/* -- API C --------------------------------------------------------------- */
/* -- API C --- */
/* Verdadeiro se o padrao casa em algum ponto do texto. */
TB_API bool tb_regex_test(const char* text, const char* pattern);
+2 -2
View File
@@ -107,7 +107,7 @@ int tb_regex_count(const char* text, const char* pattern) {
return count;
}
/* --- Expansao do substituto -------------------------------------------- */
/* --- Expansao do substituto --- */
typedef struct { char* p; size_t n, cap; } Buf;
static bool b_res(Buf* b, size_t extra) {
if (b->n + extra + 1 <= b->cap) return true;
@@ -210,7 +210,7 @@ void tb_regex_free_list(char** list) {
free(list);
}
/* ---------------------------------------------------------------- Blocos */
/* --- Blocos */
static void eval_test(TinyBlocks_Block* self, TinyBlocks* rt) {
bool ok = tb_regex_test(tb_block_input_text(self, rt, 0), tb_block_input_text(self, rt, 1));