-/*****************************************************************************/
-/* Data */
-/*****************************************************************************/
-
-
-
-/* The line info slot used */
-static unsigned LineInfoSlot;
-
-
-
/*****************************************************************************/
/* Code */
/*****************************************************************************/
void DbgInfoLine (void)
/* Parse and handle LINE subcommand of the .dbg pseudo instruction */
-{
+{
long Line;
FilePos Pos = STATIC_FILEPOS_INITIALIZER;
* follow, the last line info is terminated.
*/
if (CurTok.Tok == TOK_SEP) {
- ClearLineInfo (LineInfoSlot);
+ ClearLineInfo (LI_SLOT_EXT);
return;
}
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);
}