From a9e1af66b123198cf82bb5103e98e432296f9f99 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sun, 12 Jan 2014 13:51:21 +0700 Subject: [PATCH] Fix typo --- source/compiler/sc2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/compiler/sc2.c b/source/compiler/sc2.c index 0fec620..4f0f14e 100644 --- a/source/compiler/sc2.c +++ b/source/compiler/sc2.c @@ -1778,7 +1778,7 @@ static const unsigned char *unpackedstring(const unsigned char *lptr,int *flags) lptr--; instring=1; *flags |= STRINGIZE; - } else if (*lptr==')' || *lptr==',' || *lptr=='}' || *lptr==';' | + } else if (*lptr==')' || *lptr==',' || *lptr=='}' || *lptr==';' || *lptr==':' || *lptr=='\r' || *lptr=='\n') { break; } else if (*lptr!=' ' && *lptr!='\t') { @@ -1875,7 +1875,7 @@ static const unsigned char *packedstring(const unsigned char *lptr,int *flags) lptr=stringize+1; *flags &= ~STRINGIZE; continue; - } else if (*stringize==',' || *stringize==')' || *stringize=='}' | + } else if (*stringize==',' || *stringize==')' || *stringize=='}' || *stringize==';' || *stringize==':') { /* end */ lptr=stringize; break;