Changeset 550
- Timestamp:
- 06/10/08 10:57:29 (3 months ago)
- Files:
-
- cly/trunk/cly/builder.py (modified) (2 diffs)
- cly/trunk/cly/parser.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cly/trunk/cly/builder.py
r549 r550 569 569 if self.with_user_context or \ 570 570 (self.with_user_context is None and 571 self.parser.with_user_context):571 context.parser.with_user_context): 572 572 warnings.warn('with_user_context has been deprecated. Use ' 573 573 'with_context and access the user_context attribute.', … … 576 576 elif self.with_context or \ 577 577 (self.with_context is None and 578 self.parser.with_context):578 context.parser.with_context): 579 579 return self.callback(context, **context.vars) 580 580 else: cly/trunk/cly/parser.py
r547 r550 272 272 assert isinstance(grammar, Grammar) 273 273 self._grammar = grammar 274 for node in self:275 node.parser = self276 274 277 275 def _get_grammar(self):
