Changeset 609
- Timestamp:
- 01/15/07 17:48:43 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/contrib/05to06.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r608 r609 1 2007-01-15 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * contrib/05to06.py (Lexer._get_word): It wasn't processing quoted 4 strings if they contained \" characters. Fixed. 5 1 6 2007-01-14 A.D.F <adefacc@tin.it> 2 7 cherokee/trunk/contrib/05to06.py
r603 r609 658 658 word += self._txt[0] 659 659 self._txt = self._txt[1:] 660 if word[-1] == '"' or len(self._txt) is 0: break 660 if word[-2] != '\\': 661 if word[-1] == '"' or len(self._txt) is 0: break 661 662 return word 662 663 … … 702 703 if len(word) is 0: 703 704 return None, None 704 705 705 706 try: 706 707 int_val = int(word) … … 717 718 # Quoted string 718 719 if word[0] == word[-1] == '"': 719 return 'str',word 720 return 'str',word[1:-1] 720 721 721 722 # List