aboutsummaryrefslogtreecommitdiff
path: root/bpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'bpeg.c')
-rw-r--r--bpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpeg.c b/bpeg.c
index c10be76..9c5a23e 100644
--- a/bpeg.c
+++ b/bpeg.c
@@ -156,9 +156,9 @@ int main(int argc, char *argv[])
}
if (isatty(STDOUT_FILENO)) {
- vm_op_t *p = bpeg_pattern(NULL, "(/)");
+ vm_op_t *p = bpeg_pattern(NULL, "''");
check(p, "Failed to compile is-tty");
- add_def(g, NULL, "(/)", "is-tty", p);
+ add_def(g, NULL, "''", "is-tty", p);
}
vm_op_t *pattern = lookup(g, rule);