Roxen.git / server / modules / scripting / piketag.pike

version» Context lines:

Roxen.git/server/modules/scripting/piketag.pike:1:   // This is a roxen module. Copyright © 1996 - 1998, Idonex AB.   //   // Adds support for inline pike in documents.   //   // Example:   // <pike>   // return "Hello world!\n";   // </pike>    - constant cvs_version = "$Id: piketag.pike,v 2.3 2000/02/10 06:59:23 nilsson Exp $"; + constant cvs_version = "$Id: piketag.pike,v 2.4 2000/02/12 15:54:53 nilsson Exp $";   constant thread_safe=1;      inherit "roxenlib";   inherit "module";   #include <module.h>;      constant module_type = MODULE_PARSER;   constant module_name = "Pike tag";   constant module_doc =   #"This module adds a new tag, &lt;pike&gt;&lt;/pike&gt;. It makes it
Roxen.git/server/modules/scripting/piketag.pike:133:      // Compile and run the contents of the tag (in s) as a pike   // program.   string container_pike(string tag, mapping m, string s, RequestID request_id,    object file, mapping defs)   {    program p;    object o;    string res;    mixed err; -  if(m->help) return register_module()[2]; +        request_id->misc->cacheable=0;       object e = ErrorContainer();    master()->set_inhibit_compile_errors(e);    if(err=catch    {    s = pre(s,request_id)+s+post(s);    p = program_cache[s];