Author: coke
Date: Thu Nov 20 07:38:44 2008
New Revision: 32939

Modified:
   trunk/docs/pdds/pdd19_pir.pod
   trunk/docs/pdds/pdd20_lexical_vars.pod
   trunk/docs/pdds/pdd21_namespaces.pod

Changes in other areas also in this revision:
Modified:
   trunk/DEPRECATED.pod
   trunk/compilers/imcc/imcc.y
   trunk/compilers/imcc/imcparser.c
   trunk/t/dynpmc/dynlexpad.t
   trunk/t/dynpmc/foo.t
   trunk/t/dynpmc/subclass_with_pir_method.t
   trunk/t/dynpmc/subproxy.t
   trunk/t/oo/names.t
   trunk/t/pmc/namespace.t
   trunk/t/pmc/threads.t

Log:
Resolve RT #57428 by removing any core usage of ".HLL 'foo', 'bar'"
The syntax is now:
.HLL 'foo'
.loadlib 'bar'



Modified: trunk/docs/pdds/pdd19_pir.pod
==============================================================================
--- trunk/docs/pdds/pdd19_pir.pod       (original)
+++ trunk/docs/pdds/pdd19_pir.pod       Thu Nov 20 07:38:44 2008
@@ -327,11 +327,6 @@
 Define the HLL for the current file. Takes one string constant, the name
 of the HLL.
 
-=item .HLL <hll_name>, <hll_lib> [deprecated: RT #57428]
-
-An old form of the .HLL directive that also loaded a shared lib for the
-HLL. Use C<.loadlib> instead.
-
 =item .HLL_map <core_type> = <user_type> [unimplemented: RT #57430]
 
 Whenever Parrot has to create PMCs inside C code on behalf of the running

Modified: trunk/docs/pdds/pdd20_lexical_vars.pod
==============================================================================
--- trunk/docs/pdds/pdd20_lexical_vars.pod      (original)
+++ trunk/docs/pdds/pdd20_lexical_vars.pod      Thu Nov 20 07:38:44 2008
@@ -40,7 +40,8 @@
     # Lexical behavior varies by HLL.  For example,
     # Tcl's lexicals are not declared at compile time.
 
-    .HLL "Tcl", "tcl_group"
+    .HLL "Tcl"
+    .loadlib 'tcl_group'
 
     .sub grault :lex        # without ":lex", Tcl subs have no lexicals
         P0 = find_lex "x"   # FAILS

Modified: trunk/docs/pdds/pdd21_namespaces.pod
==============================================================================
--- trunk/docs/pdds/pdd21_namespaces.pod        (original)
+++ trunk/docs/pdds/pdd21_namespaces.pod        Thu Nov 20 07:38:44 2008
@@ -477,7 +477,8 @@
 
 should map roughly to this PIR:
 
-  .HLL "Perl5", "perl5_group"
+  .HLL "Perl5"
+  .loadlib "perl5_group"
   .namespace [ "Foo" ]
   .sub main :main
     $P0 = new 'PerlInt'
@@ -500,7 +501,8 @@
 these cases, Parrot should create the namespace based on the HLL of the PIR
 subroutine that calls the store function.
 
-  .HLL "Perl5", "perl5_group"
+  .HLL "Perl5"
+  .loadlib "perl5_group"
   .sub main :main
     # $a = 'x';
     $P0 = new 'PerlString'

Reply via email to