summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-10 05:30:33 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-10 05:30:33 +0100
commit493ca886ce52be1499f949b2906745cd7bf6229c (patch)
tree2da52fcf1652951675c380fe7c8ed598575d27ed /kconfiglib.py
parentae97a7021d02d68d0faf9ece51c023bf79fd8151 (diff)
Fix outdated comment.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index c51ac8e..133fbc6 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -203,7 +203,7 @@ class Config():
# Parse the Kconfig files
self.top_block = self._parse_file(filename, None, None, None)
- # Build self.dep
+ # Build Symbol.dep for all symbols
self._build_dep()
def load_config(self, filename, reset = True):
@@ -1505,12 +1505,12 @@ might be an error, and you should e-mail kconfiglib@gmail.com.
#
def _build_dep(self):
- """Populates the Symbol.dep dictionaries, linking the symbol to the
- symbols that immediately depend on it in the sense that changing the
- value of the symbol might affect the values of those other symbols.
- This is used for caching/invalidation purposes. The calculated sets
- might be larger than necessary as we don't do any complicated analysis
- of the expressions."""
+ """Populates the Symbol.dep sets, linking the symbol to the symbols
+ that immediately depend on it in the sense that changing the value of
+ the symbol might affect the values of those other symbols. This is used
+ for caching/invalidation purposes. The calculated sets might be larger
+ than necessary as we don't do any complicated analysis of the
+ expressions."""
for sym in self.syms.itervalues():
sym.dep = set()