Skip to content
Snippets Groups Projects
Commit c99da114 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Disabled both instances of #pragma all_inline .

If they are enabled, you get "Calling undefined function.".

Rev: lib/modules/Tools.pmod/Hilfe.pmod:1.2
parent 12e7274a
Branches
Tags
No related merge requests found
...@@ -17,7 +17,7 @@ import Array; ...@@ -17,7 +17,7 @@ import Array;
#!define catch(X) ((X),0) #!define catch(X) ((X),0)
#pragma all_inline // #pragma all_inline
/* #define DEBUG */ /* #define DEBUG */
...@@ -35,7 +35,7 @@ import Array; ...@@ -35,7 +35,7 @@ import Array;
string prog,file; string prog,file;
object o; object o;
mixed err; mixed err;
prog=("#pragma unpragma_strict_types\n#pragma all_inline\n"+ prog=("#pragma unpragma_strict_types\n" // "#pragma all_inline\n"+
"function write;\n"+ "function write;\n"+
map(indices(constants),lambda(string f) map(indices(constants),lambda(string f)
{ return constants[f]&&sprintf("constant %s=%s;",f,constants[f]); })*"\n"+ { return constants[f]&&sprintf("constant %s=%s;",f,constants[f]); })*"\n"+
...@@ -175,9 +175,6 @@ import Array; ...@@ -175,9 +175,6 @@ import Array;
int in_string=0; int in_string=0;
int in_quote=0; int in_quote=0;
int eq_pos=-1; int eq_pos=-1;
int do_parse();
mixed parse_function(string s);
mixed parse_statement(string s);
void set_buffer(string s,int parsing) void set_buffer(string s,int parsing)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment