From: uz Date: Thu, 27 Jan 2011 22:23:01 +0000 (+0000) Subject: Fix forgotten stuff from last change. X-Git-Tag: V2.13.3~524 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=036282aceda805c5b1e2854801ecc78efaafd26e;p=cc65 Fix forgotten stuff from last change. git-svn-id: svn://svn.cc65.org/cc65/trunk@4936 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/dbginfo.c b/src/ca65/dbginfo.c index 8d53972ef..59390cc62 100644 --- a/src/ca65/dbginfo.c +++ b/src/ca65/dbginfo.c @@ -48,17 +48,6 @@ -/*****************************************************************************/ -/* Data */ -/*****************************************************************************/ - - - -/* The line info slot used */ -static unsigned LineInfoSlot; - - - /*****************************************************************************/ /* Code */ /*****************************************************************************/ @@ -106,7 +95,7 @@ void DbgInfoFile (void) void DbgInfoLine (void) /* Parse and handle LINE subcommand of the .dbg pseudo instruction */ -{ +{ long Line; FilePos Pos = STATIC_FILEPOS_INITIALIZER; @@ -114,7 +103,7 @@ void DbgInfoLine (void) * follow, the last line info is terminated. */ if (CurTok.Tok == TOK_SEP) { - ClearLineInfo (LineInfoSlot); + ClearLineInfo (LI_SLOT_EXT); return; } @@ -141,11 +130,11 @@ void DbgInfoLine (void) if (Line < 0) { ErrorSkip ("Line number is out of valid range"); return; - } + } Pos.Line = Line; /* Remember the line info */ - GenLineInfo (LineInfoSlot, &Pos); + GenLineInfo (LI_SLOT_EXT, &Pos); }