aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_profile.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-06-29 12:41:22 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-06-29 12:41:22 +0100
commit89f046da080b474132a81ca4a4b0893c7af71d70 (patch)
tree1c793a1b2ae6117f39c4b9092e7387ea189ccb09 /paludis/repositories/e/e_repository_profile.cc
parent515fa4c9344ccf566f7db68d5df4fffbb9805087 (diff)
downloadpaludis-89f046da080b474132a81ca4a4b0893c7af71d70.tar.gz
paludis-89f046da080b474132a81ca4a4b0893c7af71d70.tar.xz
Try to match Portage profiles/* parsing rules more closely.
Diffstat (limited to 'paludis/repositories/e/e_repository_profile.cc')
-rw-r--r--paludis/repositories/e/e_repository_profile.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/e_repository_profile.cc b/paludis/repositories/e/e_repository_profile.cc
index e06841c23..85875975c 100644
--- a/paludis/repositories/e/e_repository_profile.cc
+++ b/paludis/repositories/e/e_repository_profile.cc
@@ -259,7 +259,7 @@ Implementation<ERepositoryProfile>::load_profile_parent(const FSEntry & dir)
if (! (dir / "parent").exists())
return;
- LineConfigFile file(dir / "parent", LineConfigFileOptions() + lcfo_disallow_continuations + lcfo_disallow_comments);
+ LineConfigFile file(dir / "parent", LineConfigFileOptions() + lcfo_disallow_continuations);
LineConfigFile::ConstIterator i(file.begin()), i_end(file.end());
bool once(false);
@@ -306,7 +306,7 @@ Implementation<ERepositoryProfile>::load_profile_make_defaults(const FSEntry & d
return;
KeyValueConfigFile file(dir / "make.defaults", KeyValueConfigFileOptions() +
- kvcfo_disallow_space_around_equals + kvcfo_disallow_space_inside_unquoted_values + kvcfo_allow_inline_comments,
+ kvcfo_disallow_source + kvcfo_disallow_space_inside_unquoted_values + kvcfo_allow_inline_comments,
&KeyValueConfigFile::no_defaults, &KeyValueConfigFile::no_transformation);
for (KeyValueConfigFile::ConstIterator k(file.begin()), k_end(file.end()) ;
@@ -558,7 +558,7 @@ Implementation<ERepositoryProfile>::load_basic_use_file(const FSEntry & file, Fl
return;
Context context("When loading basic use file '" + stringify(file) + ":");
- LineConfigFile f(file, LineConfigFileOptions() + lcfo_allow_inline_comments);
+ LineConfigFile f(file, LineConfigFileOptions() + lcfo_disallow_continuations);
for (LineConfigFile::ConstIterator line(f.begin()), line_end(f.end()) ;
line != line_end ; ++line)
{
@@ -597,7 +597,7 @@ Implementation<ERepositoryProfile>::load_spec_use_file(const FSEntry & file, Pac
return;
Context context("When loading specised use file '" + stringify(file) + ":");
- LineConfigFile f(file, LineConfigFileOptions() + lcfo_allow_inline_comments);
+ LineConfigFile f(file, LineConfigFileOptions() + lcfo_disallow_continuations);
for (LineConfigFile::ConstIterator line(f.begin()), line_end(f.end()) ;
line != line_end ; ++line)
{