1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-06 13:29:01 +00:00

Fixed some sloopy StrBuf coding.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4347 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-10-08 12:11:51 +00:00
parent b19a29f80b
commit 58e8826da2

View File

@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@cc65.org */
/* (C) 2002-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@ -55,7 +55,7 @@
static int ParseChar (StrBuf* B)
/* Parse a character. Converts \n into EOL, etc. */
{
unsigned I;
unsigned I;
unsigned Val;
int C;
@ -196,7 +196,7 @@ int SB_GetString (StrBuf* B, StrBuf* S)
char C;
/* Initialize S */
*S = AUTO_STRBUF_INITIALIZER;
SB_Init (S);
if (SB_Peek (B) == '\"') {
/* String follows, be sure to concatenate strings */