[ovs-dev] [PATCH] lex: Treat formfeeds as white space.

Ben Pfaff blp at ovn.org
Fri Oct 7 17:04:50 UTC 2016


Also vertical tabs, whatever those are.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 ovn/lib/lex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn/lib/lex.c b/ovn/lib/lex.c
index a05edfa..7eee3b6 100644
--- a/ovn/lib/lex.c
+++ b/ovn/lib/lex.c
@@ -589,7 +589,7 @@ next:
         token->type = LEX_T_END;
         return p;
 
-    case ' ': case '\t': case '\n': case '\r':
+    case ' ': case '\t': case '\n': case '\r': case '\v': case '\f':
         p++;
         goto next;
 
-- 
2.1.3




More information about the dev mailing list