Branch: Tag:

2000-11-15

2000-11-15 09:40:40 by Per Hedbor <ph@opera.com>

Fix [Bug 730 (#730)] by using Parser.Pike instead of Parser.C. Also updated the modules from Pike 7.1 CVS.

Rev: server/etc/modules/Roxen.pmod:1.45
Rev: server/modules/scripting/piketag.pike:2.29

7:   // return "Hello world!\n";   // </pike>    - constant cvs_version = "$Id: piketag.pike,v 2.28 2000/11/03 11:08:57 kuntri Exp $"; + constant cvs_version = "$Id: piketag.pike,v 2.29 2000/11/15 09:40:40 per Exp $";   constant thread_safe=1;       - #if constant(Parser.C) - #define PARSER_C Parser.C + #if constant(Parser.Pike) + #define PARSER_PIKE Parser.Pike   #else - #define PARSER_C Roxen._Parser.C + #define PARSER_PIKE Roxen._Parser.Pike   #endif      
170:   #define PREFN "pike-tag(preamble)"   #define POSTFN "pike-tag(postamble)"   #define PS(X) (compile_string( "mixed foo(){ return "+(X)+";}")()->foo()) - #define SPLIT(X,FN) PARSER_C.hide_whitespaces(PARSER_C.tokenize(PARSER_C.split(X),FN)) + #define SPLIT(X,FN) PARSER_PIKE.hide_whitespaces(PARSER_PIKE.tokenize(PARSER_PIKE.split(X),FN))   #define OCIP( ) \    if( cip ) \    { \
196:    flat[i]->text = flat[i]->text[3..]+"\n"; \    }    - #define R(X) PARSER_C.reconstitute_with_line_numbers(X) + #define R(X) PARSER_PIKE.reconstitute_with_line_numbers(X)      array helpers()   {