Skip to content
Snippets Groups Projects
Commit 0e5cfc72 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Output a trailing entry which uses prot_a_hunt_nl to parse when

client->function is illegal_fnc.
parent 4d228c4a
No related merge requests found
# #
# $Id: fnc-def-init.awk,v 0.4 1991/09/15 10:32:10 linus Exp $ # $Id: fnc-def-init.awk,v 0.5 1996/08/01 18:31:45 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association. # Copyright (C) 1991 Lysator Academic Computer Association.
# #
# This file is part of the LysKOM server. # This file is part of the LysKOM server.
...@@ -22,14 +22,10 @@ ...@@ -22,14 +22,10 @@
# #
# Please mail bug reports to bug-lyskom@lysator.liu.se. # Please mail bug reports to bug-lyskom@lysator.liu.se.
# #
# $Id: fnc-def-init.awk,v 0.4 1991/09/15 10:32:10 linus Exp $ # $Id: fnc-def-init.awk,v 0.5 1996/08/01 18:31:45 ceder Exp $
BEGIN { BEGIN {
printf("/* Don't edit this file - it is generated automatically"); printf("/* Don't edit this file - it is generated automatically");
printf(" from\n fnc-def-init.awk and fncdef.txt */\n\n"); printf(" from\n fnc-def-init.awk and fncdef.txt */\n\n");
printed_flg=0;
}
printed_flg==1 {
printf(",\n");
} }
$1 != "#" { $1 != "#" {
printf(" {"); printf(" {");
...@@ -39,10 +35,8 @@ $1 != "#" { ...@@ -39,10 +35,8 @@ $1 != "#" {
else else
printf("%7s,", "rt_" $1); printf("%7s,", "rt_" $1);
printf("prot_a_parse_arg_%s}", $2); printf("prot_a_parse_arg_%s},\n", $2);
printed_flg=1;
} }
END { END {
printf("\n"); printf(" {rt_success, prot_a_hunt_nl}\n");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment