Author: mark
Date: 2004-06-29 16:57:53 -0400 (Tue, 29 Jun 2004)
New Revision: 676
Modified:
trunk/include/prothon/prothon.h
trunk/src/interp.c
Log:
middle of proto changes
Modified: trunk/include/prothon/prothon.h
===================================================================
--- trunk/include/prothon/prothon.h 2004-06-29 09:46:00 UTC (rev 675)
+++ trunk/include/prothon/prothon.h 2004-06-29 20:57:53 UTC (rev 676)
@@ -479,6 +479,8 @@
PROTOS_,
COMMAND_,
NOTIFYCALLBACK_,
+ GET_,
+ SET_,
SYM_ENUM_COUNT
} sym_enum_t;
Modified: trunk/src/interp.c
===================================================================
--- trunk/src/interp.c 2004-06-29 09:46:00 UTC (rev 675)
+++ trunk/src/interp.c 2004-06-29 20:57:53 UTC (rev 676)
@@ -183,6 +183,8 @@
//********************************* get_item ******************************
obj_p get_item(isp ist, obj_p ref_self, obj_p ref_key){
+ if (get_attr(ist, ref_self, SYM(GET_))) {
+ }
if (has_proto(ist, ref_key, OBJ(SYMBOL_PROTO))) {
obj_p res;
if_exc_return NULL;
|