summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2018-10-19 20:22:09 +0200
committerStefan Sauer <ensonic@users.sf.net>2018-10-19 20:22:09 +0200
commite37b083ebe1516152808fe76968512b789cb2ec0 (patch)
treee21b68624a598498bcaf70cc9a8ff5599a8ec1b7
parent0e6e36a17335fc41001e5f040c5cff4befb4524b (diff)
downloadgtk-doc-e37b083ebe1516152808fe76968512b789cb2ec0.tar.gz
Add a comment explaining previous change.
-rw-r--r--gtkdoc/scangobj.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtkdoc/scangobj.py b/gtkdoc/scangobj.py
index c28d6ba..0de791b 100644
--- a/gtkdoc/scangobj.py
+++ b/gtkdoc/scangobj.py
@@ -1203,13 +1203,16 @@ def execute_command(options, description, command):
return 1
return 0
+
def split_with_quote(string):
+ # This is required to handle CFLAGS such as -DG_LOG_DOMAIN="tester"
lex = shlex.shlex(string)
lex.quotes = '"'
lex.whitespace_split = True
lex.commenters = ''
return list(lex)
+
def run(options):
logging.info('options: %s', str(options.__dict__))