From 5022fe1de9de096b1b94c17c701a733b068e6c1d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 29 Aug 2009 22:04:40 -0300 Subject: gen_keytables.pl: Fix parsing for some IR tables From: Mauro Carvalho Chehab There are some tables where the last value ends with } Signed-off-by: Mauro Carvalho Chehab --- v4l2-apps/util/gen_keytables.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'v4l2-apps/util/gen_keytables.pl') diff --git a/v4l2-apps/util/gen_keytables.pl b/v4l2-apps/util/gen_keytables.pl index 5a5398017..fad4ccfeb 100755 --- a/v4l2-apps/util/gen_keytables.pl +++ b/v4l2-apps/util/gen_keytables.pl @@ -14,7 +14,7 @@ while (<>) { next; } if ($keyname ne "") { - if (m/(0x[\dA-Fa-f]+).*(KEY_[^\s\,]+)/) { + if (m/(0x[\dA-Fa-f]+).*(KEY_[^\s\,\}]+)/) { printf OUT "%s %s\n",$1, $2; next; } -- cgit v1.2.3