From 036282aceda805c5b1e2854801ecc78efaafd26e Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 27 Jan 2011 22:23:01 +0000 Subject: [PATCH] Fix forgotten stuff from last change. git-svn-id: svn://svn.cc65.org/cc65/trunk@4936 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/dbginfo.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) 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); } -- 2.39.5