1.1 --- a/rsvplib.py Sun Feb 27 02:45:38 2011 +0100
1.2 +++ b/rsvplib.py Sun Feb 27 17:38:50 2011 +0100
1.3 @@ -445,6 +445,14 @@
1.4 else:
1.5 self.machine.result = DataValue(self.constants[False], self.constants[False])
1.6
1.7 + def builtins_print(self):
1.8 + # NOTE: Do nothing for now.
1.9 + pass
1.10 +
1.11 + def builtins_printnl(self):
1.12 + # NOTE: Do nothing for now.
1.13 + pass
1.14 +
1.15 native_functions = {
1.16
1.17 # Native method implementations:
1.18 @@ -491,6 +499,8 @@
1.19 # Native helper functions:
1.20
1.21 "__builtins__._isinstance" : builtins_isinstance,
1.22 + "__builtins__._print" : builtins_print,
1.23 + "__builtins__._printnl" : builtins_printnl,
1.24 }
1.25
1.26 # vim: tabstop=4 expandtab shiftwidth=4