diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-07-26 11:01:15 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-07-26 11:01:15 +0100 |
commit | bd0ab00df494c0f393ee5623b3a949ae9e0ae15e (patch) | |
tree | dee895e936bbe9265c07d55f96a6af7bb0883a04 /toke.c | |
parent | fc46f0f6acf947702bfc9ac32e05b1f4e8f4c720 (diff) | |
download | perl-bd0ab00df494c0f393ee5623b3a949ae9e0ae15e.tar.gz |
Tidy code added in 4ba71d51f72efb2af8dc9748dd62219261f2e1fd.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -4001,11 +4001,10 @@ Perl_yylex(pTHX) do { bool baduni = FALSE; if (*d1 == 'C') { - const char *d2 = d1; - d2++; - parse_unicode_opts( (const char **)&d2 ) - == PL_unicode - || (baduni = TRUE); + const char *d2 = d1 + 1; + if (parse_unicode_opts((const char **)&d2) + != PL_unicode) + baduni = TRUE; } if (baduni || *d1 == 'M' || *d1 == 'm') { const char * const m = d1; |