Browse code

- fixed error msg. for missing command

Andrei Pelinescu-Onciul authored on 29/10/2001 11:12:38
Showing 1 changed files
... ...
@@ -581,7 +581,7 @@ cmd:		FORWARD LPAREN host RPAREN	{ $$=mk_action(	FORWARD_T,
581 581
 										"string expected"); }
582 582
 		| ID LPAREN RPAREN			{ f_tmp=find_export($1, 0);
583 583
 									   if (f_tmp==0){
584
-										yyerror("unknown command %s, missing"
584
+										yyerror("unknown command, missing"
585 585
 										" loadmodule?\n");
586 586
 										$$=0;
587 587
 									   }else{
... ...
@@ -595,7 +595,7 @@ cmd:		FORWARD LPAREN host RPAREN	{ $$=mk_action(	FORWARD_T,
595 595
 									}
596 596
 		| ID LPAREN STRING RPAREN { f_tmp=find_export($1, 1);
597 597
 									if (f_tmp==0){
598
-										yyerror("unknown command %s, missing"
598
+										yyerror("unknown command, missing"
599 599
 										" loadmodule?\n");
600 600
 										$$=0;
601 601
 									}else{
... ...
@@ -610,7 +610,7 @@ cmd:		FORWARD LPAREN host RPAREN	{ $$=mk_action(	FORWARD_T,
610 610
 		| ID LPAREN STRING  COMMA STRING RPAREN 
611 611
 								  { f_tmp=find_export($1, 2);
612 612
 									if (f_tmp==0){
613
-										yyerror("unknown command %s, missing"
613
+										yyerror("unknown command, missing"
614 614
 										" loadmodule?\n");
615 615
 										$$=0;
616 616
 									}else{