diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-06-20 00:58:09 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-06-20 00:58:09 +0800 |
commit | 2e156596a6e8099c3f540ca362b1415613ed30dd (patch) | |
tree | 29e0896ecb9e2e072b30028e260c14b072616317 | |
parent | 3674905a0ef5c72fb20f185a792ebfa6bfb361d6 (diff) | |
download | gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.gz gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.bz2 gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.lz gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.xz gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.tar.zst gsoc2013-evolution-2e156596a6e8099c3f540ca362b1415613ed30dd.zip |
Changed buf to an int here. (lexGetQuotedPrintable): Changed cur to an int
2001-06-19 Christopher James Lahey <clahey@ximian.com>
* libversit/vcc.y (LexBuf): Changed buf to an int here.
(lexGetQuotedPrintable): Changed cur to an int here.
svn path=/trunk/; revision=10292
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libversit/vcc.y | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2001-06-19 Christopher James Lahey <clahey@ximian.com> + + * libversit/vcc.y (LexBuf): Changed buf to an int here. + (lexGetQuotedPrintable): Changed cur to an int here. + 2001-06-18 Dan Winship <danw@ximian.com> * configure.in: Add "--with-db3" to fill in both diff --git a/libversit/vcc.y b/libversit/vcc.y index 5c093c8044..4cf92c5a3f 100644 --- a/libversit/vcc.y +++ b/libversit/vcc.y @@ -511,11 +511,11 @@ struct LexBuf { unsigned long curPos; unsigned long inputLen; /* lookahead buffer */ - /* -- lookahead buffer is short instead of char so that EOF + /* -- lookahead buffer is int instead of char so that EOF / can be represented correctly. */ unsigned long len; - short buf[MAX_LEX_LOOKAHEAD]; + int buf[MAX_LEX_LOOKAHEAD]; unsigned long getPtr; /* context stack */ unsigned long lexModeStackTop; @@ -988,7 +988,7 @@ static int match_begin_end_name(int end) { static char* lexGetQuotedPrintable() { - char cur; + int cur; lexClearToken(); do { @@ -1032,13 +1032,13 @@ static char* lexGetQuotedPrintable() lexPushLookaheadc(cur); goto EndString; } - case (char)EOF: + case EOF: break; default: lexAppendc(cur); break; } /* switch */ - } while (cur != (char)EOF); + } while (cur != EOF); EndString: lexAppendc(0); |