[svn:parrot] r44959 - trunk/runtime/parrot/library/Config
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Mar 16 08:37:27 UTC 2010
Author: bacek
Date: Tue Mar 16 08:37:27 2010
New Revision: 44959
URL: https://trac.parrot.org/parrot/changeset/44959
Log:
Quick fix for Config::JSON to help cotto++ with release
Modified:
trunk/runtime/parrot/library/Config/JSON.pir
Modified: trunk/runtime/parrot/library/Config/JSON.pir
==============================================================================
--- trunk/runtime/parrot/library/Config/JSON.pir Tue Mar 16 08:23:44 2010 (r44958)
+++ trunk/runtime/parrot/library/Config/JSON.pir Tue Mar 16 08:37:27 2010 (r44959)
@@ -37,11 +37,9 @@
# Convert the text to an object and return it.
.local pmc json, code, config
- load_language 'data_json'
- json = compreg 'data_json'
- code = json.'compile'(text)
-
- .tailcall code()
+ load_bytecode 'compilers/json/JSON.pbc'
+ json = compreg 'JSON'
+ .tailcall json(text)
.end
=head2 WriteConfig(config, filename, ?:compact)
More information about the parrot-commits
mailing list