ia64/xen-unstable
changeset 11016:688012fc0e79
Fix reference to buf in parsing of ocaml escapes.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | emellor@leeni.uk.xensource.com |
---|---|
date | Wed Aug 09 10:13:34 2006 +0100 (2006-08-09) |
parents | 58a04bfedf6b |
children | 009e250505e9 |
files | tools/python/xen/xend/sxp.py |
line diff
1.1 --- a/tools/python/xen/xend/sxp.py Wed Aug 09 09:52:43 2006 +0100 1.2 +++ b/tools/python/xen/xend/sxp.py Wed Aug 09 10:13:34 2006 +0100 1.3 @@ -291,7 +291,7 @@ class Parser: 1.4 raise ParseError(self, "unexpected EOF") 1.5 elif '0' <= c <= '7': 1.6 octaldigit(c) 1.7 - elif len(self.buf): 1.8 + elif len(self.state.buf): 1.9 octaldone() 1.10 self.input_char(c) 1.11