mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Fix forgotten stuff from last change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4936 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
81555b223d
commit
036282aced
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user