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
#
# $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.
#
# This file is part of the LysKOM server.
......@@ -22,14 +22,10 @@
#
# 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 {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n fnc-def-init.awk and fncdef.txt */\n\n");
printed_flg=0;
}
printed_flg==1 {
printf(",\n");
}
$1 != "#" {
printf(" {");
......@@ -39,10 +35,8 @@ $1 != "#" {
else
printf("%7s,", "rt_" $1);
printf("prot_a_parse_arg_%s}", $2);
printed_flg=1;
printf("prot_a_parse_arg_%s},\n", $2);
}
END {
printf("\n");
printf(" {rt_success, prot_a_hunt_nl}\n");
}
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