diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-04 18:32:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-04 18:32:57 +0100 |
commit | fef3649953a3dcc3a17d9d5858f56690a8782501 (patch) | |
tree | f8f5002c8258424fc61c872a9f2e412d13449e8f /util/cairo-script/cairo-script-scanner.c | |
parent | 2395bba1e66a2623cb288e13effc206f86e5e62e (diff) |
[script] Fix the trivial errors running the test suite
A few typos crept in breaking the script output and various refreshes of
the expected results.
Diffstat (limited to 'util/cairo-script/cairo-script-scanner.c')
-rw-r--r-- | util/cairo-script/cairo-script-scanner.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/cairo-script/cairo-script-scanner.c b/util/cairo-script/cairo-script-scanner.c index dd898262..b3217cd7 100644 --- a/util/cairo-script/cairo-script-scanner.c +++ b/util/cairo-script/cairo-script-scanner.c @@ -40,6 +40,8 @@ #include <string.h> /* memset */ #include <assert.h> +#define DEBUG_SCAN 0 + /* * whitespace: * 0 - nul @@ -1181,7 +1183,7 @@ scan_base85: static csi_status_t _scan_push (csi_t *ctx, csi_object_t *obj) { - if (0) { + if (DEBUG_SCAN) { fprintf (stderr, "push "); fprintf_obj (stderr, ctx, obj); } @@ -1191,7 +1193,7 @@ _scan_push (csi_t *ctx, csi_object_t *obj) static csi_status_t _scan_execute (csi_t *ctx, csi_object_t *obj) { - if (0) { + if (DEBUG_SCAN) { fprintf (stderr, "exec "); fprintf_obj (stderr, ctx, obj); } |