Browse Source

Reduce whitespace in lj_bcdef.h.

Mike Pall 15 years ago
parent
commit
f86f9e8eec
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/buildvm.c

+ 4 - 4
src/buildvm.c

@@ -256,12 +256,12 @@ static void emit_bcdef(BuildCtx *ctx)
 {
   int i;
   fprintf(ctx->fp, "/* This is a generated file. DO NOT EDIT! */\n\n");
-  fprintf(ctx->fp, "LJ_DATADEF const uint16_t lj_bc_ofs[BC__MAX+1] = {\n  ");
+  fprintf(ctx->fp, "LJ_DATADEF const uint16_t lj_bc_ofs[BC__MAX+1] = {\n ");
   for (i = 0; i < ctx->npc; i++) {
-    fprintf(ctx->fp, "%4d, ", ctx->sym_ofs[i]);
-    if ((i & 7) == 7) fprintf(ctx->fp, "\n  ");
+    fprintf(ctx->fp, " %4d,", ctx->sym_ofs[i]);
+    if ((i & 7) == 7) fprintf(ctx->fp, "\n ");
   }
-  fprintf(ctx->fp, "0\n};\n\n");
+  fprintf(ctx->fp, " 0\n};\n\n");
 }
 
 /* Emit VM definitions as Lua code for debug modules. */