Guido van Rossum
c211ee4b13
Added <errno.h>
1990-12-20 23:06:26 +00:00
Guido van Rossum
f22120ab74
Changed include of <errno.h>
1990-12-20 23:05:40 +00:00
Guido van Rossum
aec7855227
Initial revision
1990-12-20 23:03:58 +00:00
Guido van Rossum
40d0b7e904
Change div() into divide(); div() is a Standard C function.
1990-12-20 23:03:11 +00:00
Guido van Rossum
d05c4b2a7c
Include <string.h> instead of "string.h".
1990-12-20 23:02:42 +00:00
Guido van Rossum
3f5da24ea3
"Compiling" version
1990-12-20 15:06:42 +00:00
Guido van Rossum
226d79eb4a
Changed interface (no nodes but code).
1990-11-18 17:44:34 +00:00
Guido van Rossum
846e431372
Function objects no longer contain a parse tree node, but intermediate
...
code.
1990-11-18 17:44:06 +00:00
Guido van Rossum
5b3138bec0
Empty all modules' symbol tables, so most circular references are
...
cleared up.
(A function definition references its module's symbol table but
the symbol table of course references the function...)
1990-11-18 17:41:40 +00:00
Guido van Rossum
392ab32859
Fix wrong #ifdef.
1990-11-18 17:41:19 +00:00
Guido van Rossum
c6aa9e90ad
Some extra DECREFs.
1990-11-18 17:40:32 +00:00
Guido van Rossum
840bcf11a8
Set parse tree in parser data structure to NULL when returning
...
a valid parse tree to caller, so caller must free the tree.
1990-11-18 17:39:41 +00:00
Guido van Rossum
99f02d43f3
Free parse tree when deleting parser.
1990-11-18 17:38:42 +00:00
Guido van Rossum
f1270274e2
Added opcodes for classes.
1990-11-18 17:38:15 +00:00
Guido van Rossum
cc398d1cbb
Added prototype for new function freenode().
1990-11-18 17:37:25 +00:00
Guido van Rossum
03a24cd47b
Add function to free an entire parse tree.
1990-11-18 17:37:06 +00:00
Guido van Rossum
eb38d2411c
DECREF pi and e after inserting in symbol table.
1990-11-18 17:36:45 +00:00
Guido van Rossum
3304975647
Add extra DECREF.
1990-11-18 17:36:26 +00:00
Guido van Rossum
d6f3bc2aae
Compile class definitions.
...
Document and fix code generation for try statements.
Use two bytes for all arguments.
Avoid duplicate entries in lists of constants and names.
1990-11-18 17:35:03 +00:00
Guido van Rossum
e9736fc8a1
Free parse tree after compiling.
...
Added support for class definitions.
Reorganized main interpreter loop to fetch op and arg once at the head.
Use two bytes for arguments (see ceval.c).
1990-11-18 17:33:06 +00:00
Guido van Rossum
921842f2c2
Fixed resizestring() to work if reference tracing is turned on.
...
The realloc() call would move the list head without fixing the
pointers to in the the chain of allocated objects...
1990-11-18 17:30:23 +00:00
Guido van Rossum
da0c6bdfe3
Moved configuration-dependent initializations (etc.) to config_*.c
1990-11-18 17:28:24 +00:00
Guido van Rossum
10dc2e8097
Initial revision
1990-11-18 17:27:39 +00:00
Guido van Rossum
d5b70f5bac
Add UNREF macro if not tracing refs (see UNREF function in object.c).
1990-11-18 17:27:10 +00:00
Guido van Rossum
a769172f6a
Increment line number for continuation lines.
1990-11-09 15:08:39 +00:00
Guido van Rossum
f1ac403c4d
Reformulated err_badarg error message.
1990-11-09 15:05:53 +00:00
Guido van Rossum
124967ca8c
Turn close commands into WE_CLOSE events.
...
Remove (broken) compatibility hacks from cutbuffer interface.
1990-11-06 15:17:35 +00:00
Guido van Rossum
2e44967104
Initial revision
1990-11-05 19:44:36 +00:00
Guido van Rossum
0c89ec778d
*** empty log message ***
1990-11-05 19:44:31 +00:00
Guido van Rossum
c8564cde04
Be more careful with negative reference counts.
1990-11-02 17:51:56 +00:00
Guido van Rossum
3d54f2d3d9
Added provision for THINK C which doesn't have sys_nerrors or sys_errlist.
1990-11-02 17:51:17 +00:00
Guido van Rossum
6923e134fc
Moved prototyes for fmod and pow, and don't use them for THINK C.
1990-11-02 17:50:43 +00:00
Guido van Rossum
f5401bd49e
Added prototype for strerror.
1990-11-02 17:50:28 +00:00
Guido van Rossum
bd3edc8dc3
Removed redundant prototype for err_nomem().
...
Added check for negative refcnt in DELREF.
1990-11-02 17:49:51 +00:00
Guido van Rossum
be5ea23374
Added new event types and selection types.
1990-10-31 11:26:01 +00:00
Guido van Rossum
468c448bcc
Added S_IMODE() to strip the file type (S_IFMT) from a mode.
1990-10-31 11:25:23 +00:00
Guido van Rossum
36ddc9e318
Initial revision
1990-10-31 11:24:22 +00:00
Guido van Rossum
6acc1b539a
Changed resizing functionality.
1990-10-31 11:21:56 +00:00
Guido van Rossum
e15607f3f9
removed resizing functionality.
1990-10-31 11:17:34 +00:00
Guido van Rossum
fc9af02697
Separated out resizing functionality.
1990-10-31 11:16:43 +00:00
Guido van Rossum
5b10f454f7
Added w.setwincursor(), selection, and new cut buffer interface.
1990-10-30 16:01:48 +00:00
Guido van Rossum
01769f083f
Change set/getcutbuffer to use the new stdwin interface.
...
This makes it possible to cut/paste strings wuth embedded null bytes.
1990-10-30 13:39:00 +00:00
Guido van Rossum
7f77e2d4f8
Added prototype to declaration of strerror().
1990-10-30 13:34:38 +00:00
Guido van Rossum
14da580104
Added prototype for sortlist().
1990-10-30 13:32:39 +00:00
Guido van Rossum
84c76f52af
Added external interface to sort a list.
1990-10-30 13:32:20 +00:00
Guido van Rossum
726749cc5b
Added some prototypes.
1990-10-30 13:30:32 +00:00
Guido van Rossum
6990c943a0
Added getdictkeys() prototype.
1990-10-30 13:27:43 +00:00
Guido van Rossum
3ccb6172f8
removed dir statement. Function arguments may now be tests.
1990-10-26 15:01:05 +00:00
Guido van Rossum
0558a205a3
Added getmodulename() public interface.
1990-10-26 15:00:11 +00:00
Guido van Rossum
738d4ddf81
Take out duplication of code in initmodule().
1990-10-26 14:59:30 +00:00