Added .REPEAT pseudo instruction

git-svn-id: svn://svn.cc65.org/cc65/trunk@215 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-07-28 12:15:40 +00:00
parent 77e8bffa81
commit 44a11218e1
10 changed files with 334 additions and 51 deletions

View File

@@ -39,8 +39,10 @@
#include <ctype.h>
#include <errno.h>
#include "../common/bitops.h"
/* common */
#include "bitops.h"
/* ca65 */
#include "condasm.h"
#include "error.h"
#include "expr.h"
@@ -52,6 +54,7 @@
#include "nexttok.h"
#include "objcode.h"
#include "options.h"
#include "repeat.h"
#include "symtab.h"
#include "pseudo.h"
@@ -906,7 +909,7 @@ static void DoReloc (void)
static void DoRepeat (void)
/* Repeat some instruction block */
{
ErrorSkip (ERR_NOT_IMPLEMENTED);
ParseRepeat ();
}
@@ -1043,7 +1046,7 @@ static void DoWarning (void)
if (Tok != TOK_STRCON) {
ErrorSkip (ERR_STRCON_EXPECTED);
} else {
Error (WARN_USER, SVal);
Warning (WARN_USER, SVal);
SkipUntilSep ();
}
}