summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-12-24 13:17:47 +0000
committerPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-02-10 12:07:02 +0000
commit99b497aa90ed7db99d29a301b47c91fba65c9cb3 (patch)
tree09e231f3a6838cdb2df9db9454981b9205046ba1 /win32
parentb40895ae558e0aff0c347785dafeaaff40a01801 (diff)
downloadperl-99b497aa90ed7db99d29a301b47c91fba65c9cb3.tar.gz
Initial attack at basic 'class' feature
Adds a new experimental warning, feature, keywords and enough parsing to implement basic classes with an empty `new` constructor method. Inject a $self lexical into method bodies; populate it with the object instance, suitably shifted Creates a new OP_METHSTART opcode to perform method setup Define an aux flag to remark which stashes are classes Basic implementation of fields. Basic anonymous methods.
Diffstat (limited to 'win32')
-rw-r--r--win32/GNUmakefile1
-rw-r--r--win32/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/GNUmakefile b/win32/GNUmakefile
index dad6db1a74..e0ee1a0470 100644
--- a/win32/GNUmakefile
+++ b/win32/GNUmakefile
@@ -961,6 +961,7 @@ MICROCORE_SRC = \
..\av.c \
..\builtin.c \
..\caretx.c \
+ ..\class.c \
..\deb.c \
..\doio.c \
..\doop.c \
diff --git a/win32/Makefile b/win32/Makefile
index fe5019a4a8..a50ee09a77 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -671,6 +671,7 @@ DEL = del
MICROCORE_SRC = \
..\av.c \
..\caretx.c \
+ ..\class.c \
..\builtin.c \
..\deb.c \
..\doio.c \