From 345f1aa0606da242f61010d5f39bc432b5b782c0 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 5 Apr 2020 22:10:37 +1000 Subject: [PATCH] Remove jsonfindptrs unnecessary curly braces --- example/jsonfindptrs/jsonfindptrs.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/jsonfindptrs/jsonfindptrs.cc b/example/jsonfindptrs/jsonfindptrs.cc index c6e506dc..722db8d3 100644 --- a/example/jsonfindptrs/jsonfindptrs.cc +++ b/example/jsonfindptrs/jsonfindptrs.cc @@ -455,9 +455,8 @@ JsonThing::parse(TokenStream& ts) { return parse_string(ts, tsr); case WUFFS_BASE__TOKEN__VBC__LITERAL: return parse_literal(tsr); - case WUFFS_BASE__TOKEN__VBC__NUMBER: { + case WUFFS_BASE__TOKEN__VBC__NUMBER: return parse_number(tsr); - } } return Result("main: internal error: unexpected token");