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
+4
-4
@@ -24,7 +24,7 @@ static VarTable s_global;
|
||||
static TbVarScope* s_cur = NULL;
|
||||
static TbVarScope* s_live = NULL;
|
||||
|
||||
/* -- Tabela ---------------------------------------------------------------- */
|
||||
/* -- Tabela --- */
|
||||
|
||||
static int table_find(const VarTable* t, const char* name) {
|
||||
for (int i = 0; i < t->n; i++) if (!strcmp(t->v[i].name, name)) return i;
|
||||
@@ -78,7 +78,7 @@ static VarTable* where(const char* name, int* idx) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* -- Escopos --------------------------------------------------------------- */
|
||||
/* -- Escopos --- */
|
||||
|
||||
TbVarScope* tb_vars_scope_new(TbVarScope* parent) {
|
||||
TbVarScope* s = calloc(1, sizeof(TbVarScope));
|
||||
@@ -103,7 +103,7 @@ void tb_vars_scope_free(TbVarScope* s) {
|
||||
TbVarScope* tb_vars_scope_current(void) { return s_cur; }
|
||||
void tb_vars_scope_set(TbVarScope* s) { s_cur = s; }
|
||||
|
||||
/* -- Valores --------------------------------------------------------------- */
|
||||
/* -- Valores --- */
|
||||
|
||||
const TinyBlocks_Value* tb_vars_get(const char* name) {
|
||||
if (!name || !name[0]) return NULL;
|
||||
@@ -140,7 +140,7 @@ bool tb_vars_delete(const char* name) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/* -- Globais --------------------------------------------------------------- */
|
||||
/* -- Globais --- */
|
||||
|
||||
int tb_vars_global_count(void) { return s_global.n; }
|
||||
const char* tb_vars_global_name(int i) { return (i >= 0 && i < s_global.n) ? s_global.v[i].name : ""; }
|
||||
|
||||
Reference in new issue
Block a user