diff options
Diffstat (limited to 'src/perl/get-signals.pl')
-rwxr-xr-x | src/perl/get-signals.pl | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/perl/get-signals.pl b/src/perl/get-signals.pl index 716e25f2..65355d3d 100755 --- a/src/perl/get-signals.pl +++ b/src/perl/get-signals.pl @@ -5,7 +5,6 @@ print "static PERL_SIGNAL_ARGS_REC perl_signal_args[] =\n{\n"; while (<STDIN>) { chomp; - last if (/UI common/); next if (!/^ "([^"]*)"(<.*>)?,\s*(.*)/); next if (/\.\.\./); next if (/\(/); @@ -18,20 +17,32 @@ while (<STDIN>) { s/int[^,]*/int/g; s/GSList of (\w+)s/gslist_\1/g; + # core + s/CHATNET_REC[^,]*/iobject/g; s/SERVER_REC[^,]*/iobject/g; s/RECONNECT_REC[^,]*/iobject/g; s/CHANNEL_REC[^,]*/iobject/g; s/QUERY_REC[^,]*/iobject/g; s/COMMAND_REC[^,]*/Irssi::Command/g; s/NICK_REC[^,]*/Irssi::Nick/g; + s/LOG_REC[^,]*/Irssi::Log/g; + s/RAWLOG_REC[^,]*/Irssi::Rawlog/g; + s/IGNORE_REC[^,]*/Irssi::Ignore/g; + s/MODULE_REC[^,]*/Irssi::Module/g; + + # irc s/BAN_REC[^,]*/Irssi::Ban/g; - s/DCC_REC[^,]*/Irssi::Dcc/g; s/NETSPLIT_REC[^,]*/Irssi::Netsplit/g; + s/NETSPLIT_SERVER_REC[^,]*/Irssi::Netsplitserver/g; + + # irc modules + s/DCC_REC[^,]*/Irssi::Dcc/g; s/AUTOIGNORE_REC[^,]*/Irssi::Autoignore/g; - s/LOG_REC[^,]*/Irssi::Log/g; - s/RAWLOG_REC[^,]*/Irssi::Rawlog/g; s/NOTIFYLIST_REC[^,]*/Irssi::Notifylist/g; - s/IGNORE_REC[^,]*/Irssi::Ignore/g; + + # fe-common + s/THEME_REC[^,]*/Irssi::Theme/g; + s/KEYINFO_REC[^,]*/Irssi::Keyinfo/g; s/WINDOW_REC[^,]*/Irssi::Window/g; s/WI_ITEM_REC[^,]*/iobject/g; |