Added line infos

git-svn-id: svn://svn.cc65.org/cc65/trunk@748 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-05-23 19:03:40 +00:00
parent ea2cf602b0
commit bfbedfa54b
26 changed files with 451 additions and 77 deletions

View File

@@ -58,6 +58,9 @@ void DbgInfoFile (void)
unsigned long Size;
unsigned long MTime;
/* Parameters are separated by a comma */
ConsumeComma ();
/* Name */
if (Tok != TOK_STRCON) {
ErrorSkip (ERR_STRCON_EXPECTED);
@@ -90,6 +93,17 @@ void DbgInfoLine (void)
unsigned Index;
long LineNum;
/* If a parameters follow, this is actual line info. If no parameters
* follow, the last line info is terminated.
*/
if (Tok == TOK_SEP) {
ClearLineInfo ();
return;
}
/* Parameters are separated by a comma */
ConsumeComma ();
/* The name of the file follows */
if (Tok != TOK_STRCON) {
ErrorSkip (ERR_STRCON_EXPECTED);