src/vm/oba_compiler.c
static int addLocal(Compiler* compiler, Token name) {
  Local* local = &compiler->locals[compiler->localCount++];
  local->token = name;
  local->depth = -1;
  local->isCaptured = false;
  return compiler->localCount;
}
// Declares a new local in an uninitialized state.
// Any attempt to use the local before it is initialized is an error.
Declares a new local in an uninitialized state.
Any attempt to use the local before it is initialized is an error.
Declares a new local in an uninitialized state . Any attempt to use the local before it is initialized is an error .
static int addLocal(Compiler* compiler, Token name) {
  Local* local = &compiler->locals[compiler->localCount++];
  local->token = name;
  local->depth = -1;
  local->isCaptured = false;
  return compiler->localCount;
}
static int addLocal ( Compiler * compiler , Token name ) { Local * local = & compiler -> locals [ compiler -> localCount ++ ] ; local -> token = name ; local -> depth = -1 ; local -> isCaptured = false ; return compiler -> localCount ; }
Declares a new local in an uninitialized state.
Declares a new local in an uninitialized state .