summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-04-23 01:57:36 +0000
committerchristos <christos@NetBSD.org>2017-04-23 01:57:36 +0000
commita2d15c3f3df991efd74cd9a841a836a83f01c02c (patch)
tree349574444e54e7fe2775e33b3a7ebd528f84490c /include/vis.h
parentcc6bd9f9d401d03dbd5fb88f9e783b946046c4e7 (diff)
Add vis DQ.
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vis.h b/include/vis.h
index 501ad182eeb..7fc880cbfad 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.h,v 1.24 2016/01/14 20:42:14 christos Exp $ */
+/* $NetBSD: vis.h,v 1.25 2017/04/23 01:57:36 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -51,6 +51,7 @@
#define VIS_NL 0x0010 /* also encode newline */
#define VIS_WHITE (VIS_SP | VIS_TAB | VIS_NL)
#define VIS_SAFE 0x0020 /* only encode "unsafe" characters */
+#define VIS_DQ 0x8000 /* also encode double quotes */
/*
* other