develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35482 - trunk/languages/lua/src/lib

From:
fperrad
Date:
January 13, 2009 02:59
Subject:
[svn:parrot] r35482 - trunk/languages/lua/src/lib
Message ID:
20090113105907.32FE1CB9F9@x12.develooper.com
Author: fperrad
Date: Tue Jan 13 02:59:05 2009
New Revision: 35482

Modified:
   trunk/languages/lua/src/lib/markdown.pir

Log:
[Lua] markdown
- update Markdown interface (see r35437)

Modified: trunk/languages/lua/src/lib/markdown.pir
==============================================================================
--- trunk/languages/lua/src/lib/markdown.pir	(original)
+++ trunk/languages/lua/src/lib/markdown.pir	Tue Jan 13 02:59:05 2009
@@ -60,8 +60,9 @@
     .param pmc extra :slurpy
     .local pmc res
     $S1 = lua_checkstring(1, str)
-    $P0 = compreg 'Markdown'
-    $S0 = $P0.'compile'($S1)
+    $P0 = compreg 'markdown'
+    $P1 = $P0.'compile'($S1)
+    $S0 = $P1()
     new res, 'LuaString'
     set res, $S0
     .return (res)



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About