From 648161bb0edfc3d43db63caed5cc5213bc6cb78f Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 18:28:41 -0800 Subject: auto import from //depot/cupcake/@135843 --- WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l | 24 ----------------------- 1 file changed, 24 deletions(-) delete mode 100644 WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l (limited to 'WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l') diff --git a/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l b/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l deleted file mode 100644 index 8fe17b6..0000000 --- a/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc5.l +++ /dev/null @@ -1,24 +0,0 @@ -/* Oops; slight change from wc3.l introduces backtracking */ - -ws [ \t] -nonws [^ \t\n] -word {ws}*{nonws}+ -words {word}{ws}+ - -%% - int cc = 0, wc = 0, lc = 0; - -{word}{ws}* cc += yyleng; ++wc; -{word}{ws}*\n cc += yyleng; ++wc; ++lc; -{words}{word} cc += yyleng; wc += 2; /* oops */ -{words}{2}{word}{ws}* cc += yyleng; wc += 3; -{words}{3}{word}{ws}* cc += yyleng; wc += 4; - -{ws}+ cc += yyleng; - -\n+ cc += yyleng; lc += yyleng; - -<> { - printf( "%8d %8d %8d\n", lc, wc, cc ); - yyterminate(); - } -- cgit v1.1