projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.2.38-pre1 implements AVR instructions
[fw/sdcc]
/
sim
/
ucsim
/
cmd.src
/
newcmdcl.h
diff --git
a/sim/ucsim/cmd.src/newcmdcl.h
b/sim/ucsim/cmd.src/newcmdcl.h
index 255a8578e732be7ca213e1ae1edaf60a66786015..19512133544c05360a379d45b96028f4ba2bd93c 100644
(file)
--- a/
sim/ucsim/cmd.src/newcmdcl.h
+++ b/
sim/ucsim/cmd.src/newcmdcl.h
@@
-1,5
+1,5
@@
/*
/*
- * Simulator of microcontrollers (cmdcl.h)
+ * Simulator of microcontrollers (cmd
.src/cmd
cl.h)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
*
@@
-25,8
+25,8
@@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
/*@1@*/
02111-1307, USA. */
/*@1@*/
-#ifndef CMDCL_HEADER
-#define CMDCL_HEADER
+#ifndef CMD
_NEWCMD
CL_HEADER
+#define CMD
_NEWCMD
CL_HEADER
#include "ddconfig.h"
#include "ddconfig.h"
@@
-136,9
+136,11
@@
public:
class cl_console: public cl_base
{
class cl_console: public cl_base
{
+ friend class cl_commander;
+protected:
+ FILE *in, *out;
public:
class cl_sim *sim;
public:
class cl_sim *sim;
- FILE *in, *out;
char *last_command;
int flags; // See CONS_XXXX
char *prompt;
char *last_command;
int flags; // See CONS_XXXX
char *prompt;
@@
-227,4
+229,4
@@
public:
#endif
#endif
-/* End of cmdcl.h */
+/* End of cmd
.src/cmd
cl.h */