Commit d7912106 authored by Ronny Wichers Schreur's avatar Ronny Wichers Schreur 🏘
Browse files

removed RWS in internal compiler error message

test for NULL params in GenParameters (reason unknown)
parent 99eec421
...@@ -1292,7 +1292,7 @@ void CallArrayFunction (SymbDef array_def,Bool is_jsr,StateP node_state_p) ...@@ -1292,7 +1292,7 @@ void CallArrayFunction (SymbDef array_def,Bool is_jsr,StateP node_state_p)
function_state_p = array_def->sdef_rule->rule_state_p; function_state_p = array_def->sdef_rule->rule_state_p;
break; break;
default: default:
error_in_function ("CallArrayFunction RWS"); error_in_function ("CallArrayFunction");
break; break;
} }
/* RWS */ /* RWS */
...@@ -3284,7 +3284,12 @@ void GenSystemImports (void) ...@@ -3284,7 +3284,12 @@ void GenSystemImports (void)
void GenParameters (Bool input, Parameters params, int asp, int bsp) void GenParameters (Bool input, Parameters params, int asp, int bsp)
{ {
int is_first_parameter; int is_first_parameter;
/* RWS ... ??? */
if (params==NULL)
return;
/* ... RWS */
if (input) if (input)
put_instruction_ (Iin); put_instruction_ (Iin);
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment