summaryrefslogtreecommitdiffstats
path: root/src/basic/extract-word.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-10 15:39:47 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-11 09:21:07 +0100
commit3141089f53274849ecedb84aacc6a35fd679d3c2 (patch)
tree436c63bc203065252d2c667a64b6165b6b301ca7 /src/basic/extract-word.h
parentbasic/extract-word: allow escape character to be escaped (diff)
downloadsystemd-3141089f53274849ecedb84aacc6a35fd679d3c2.tar.xz
systemd-3141089f53274849ecedb84aacc6a35fd679d3c2.zip
basic/extract-word: rename flag
The flag enables "relaxed mode" for all kinds of unescaping, not just c-unescaping.
Diffstat (limited to 'src/basic/extract-word.h')
-rw-r--r--src/basic/extract-word.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/extract-word.h b/src/basic/extract-word.h
index 3c1e7d98b6..0e9e77e93d 100644
--- a/src/basic/extract-word.h
+++ b/src/basic/extract-word.h
@@ -6,7 +6,7 @@
typedef enum ExtractFlags {
EXTRACT_RELAX = 1 << 0, /* Allow unbalanced quote and eat up trailing backslash. */
EXTRACT_CUNESCAPE = 1 << 1, /* Unescape known escape sequences. */
- EXTRACT_CUNESCAPE_RELAX = 1 << 2, /* Allow and keep unknown escape sequences, allow and keep trailing backslash. */
+ EXTRACT_UNESCAPE_RELAX = 1 << 2, /* Allow and keep unknown escape sequences, allow and keep trailing backslash. */
EXTRACT_UNESCAPE_SEPARATORS = 1 << 3, /* Unescape separators (those specified, or whitespace by default). */
EXTRACT_UNQUOTE = 1 << 4, /* Remove quoting with "" and ''. */
EXTRACT_DONT_COALESCE_SEPARATORS = 1 << 5, /* Don't treat multiple adjacent separators as one */