~ubuntu-branches/ubuntu/precise/python2.5/precise

« back to all changes in this revision

Viewing changes to Objects/unicodeobject.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-01-31 20:41:23 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100131204123-vourxnj86g6up33x
Tags: 2.5.5-1ubuntu1
* Merge with Debian; remaining changes:
  - Include the pregenerated documentation.
  - Set priority of python2.5-minimal to required.
  - Build python2.5-doc from the pregenerated documentation.
* Regenerate the included documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1012
1012
                    }
1013
1013
                } else if (SPECIAL(ch,0,0)) {
1014
1014
                    errmsg = "unexpected special character";
1015
 
                        goto utf7Error;
 
1015
                    goto utf7Error;
1016
1016
                } else  {
1017
1017
                    *p++ = ch;
1018
1018
                }
1036
1036
            }
1037
1037
        }
1038
1038
        else if (SPECIAL(ch,0,0)) {
 
1039
            startinpos = s-starts;
1039
1040
            errmsg = "unexpected special character";
1040
1041
            s++;
1041
 
                goto utf7Error;
 
1042
            goto utf7Error;
1042
1043
        }
1043
1044
        else {
1044
1045
            *p++ = ch;