The %ocamlopt setting has embedded quotes. Copy the entire value instead

of stopping at the first embedded quote.

llvm-svn: 111622
This commit is contained in:
Bob Wilson 2010-08-20 14:19:38 +00:00
parent 18f47c7105
commit 6c66144eb3
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ import re
site_exp = {}
# FIXME: Implement lit.site.cfg.
for line in open(os.path.join(config.llvm_obj_root, 'test', 'site.exp')):
m = re.match('set ([^ ]+) "([^"]*)"', line)
m = re.match('set ([^ ]+) "(.*)"', line)
if m:
site_exp[m.group(1)] = m.group(2)