diff options
| author | Mike Pall <mike> | 2010-02-08 05:35:18 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-02-08 05:35:18 +0100 |
| commit | f86f9e8eec9c0f2c191be44ad4835329a559c990 (patch) | |
| tree | 6417719de7389514a4f953fd6767e2e67e344c0b | |
| parent | 6194b1c896c78c2ba0436053dcae596725317e9c (diff) | |
| download | luajit-f86f9e8eec9c0f2c191be44ad4835329a559c990.tar.gz luajit-f86f9e8eec9c0f2c191be44ad4835329a559c990.tar.bz2 luajit-f86f9e8eec9c0f2c191be44ad4835329a559c990.zip | |
Reduce whitespace in lj_bcdef.h.
| -rw-r--r-- | src/buildvm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildvm.c b/src/buildvm.c index 375e8b2b..44fd2c71 100644 --- a/src/buildvm.c +++ b/src/buildvm.c | |||
| @@ -256,12 +256,12 @@ static void emit_bcdef(BuildCtx *ctx) | |||
| 256 | { | 256 | { |
| 257 | int i; | 257 | int i; |
| 258 | fprintf(ctx->fp, "/* This is a generated file. DO NOT EDIT! */\n\n"); | 258 | fprintf(ctx->fp, "/* This is a generated file. DO NOT EDIT! */\n\n"); |
| 259 | fprintf(ctx->fp, "LJ_DATADEF const uint16_t lj_bc_ofs[BC__MAX+1] = {\n "); | 259 | fprintf(ctx->fp, "LJ_DATADEF const uint16_t lj_bc_ofs[BC__MAX+1] = {\n "); |
| 260 | for (i = 0; i < ctx->npc; i++) { | 260 | for (i = 0; i < ctx->npc; i++) { |
| 261 | fprintf(ctx->fp, "%4d, ", ctx->sym_ofs[i]); | 261 | fprintf(ctx->fp, " %4d,", ctx->sym_ofs[i]); |
| 262 | if ((i & 7) == 7) fprintf(ctx->fp, "\n "); | 262 | if ((i & 7) == 7) fprintf(ctx->fp, "\n "); |
| 263 | } | 263 | } |
| 264 | fprintf(ctx->fp, "0\n};\n\n"); | 264 | fprintf(ctx->fp, " 0\n};\n\n"); |
| 265 | } | 265 | } |
| 266 | 266 | ||
| 267 | /* Emit VM definitions as Lua code for debug modules. */ | 267 | /* Emit VM definitions as Lua code for debug modules. */ |
