diff options
Diffstat (limited to 'WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc1.l')
-rw-r--r-- | WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc1.l | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc1.l b/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc1.l deleted file mode 100644 index d6696bc..0000000 --- a/WebKitTools/android/flex-2.5.4a/MISC/fastwc/wc1.l +++ /dev/null @@ -1,18 +0,0 @@ -/* First cut at a flex-based "wc" tool. */ - -ws [ \t] -nonws [^ \t\n] - -%% - int cc = 0, wc = 0, lc = 0; - -{nonws}+ cc += yyleng; ++wc; - -{ws}+ cc += yyleng; - -\n ++lc; ++cc; - -<<EOF>> { - printf( "%8d %8d %8d\n", lc, wc, cc ); - yyterminate(); - } |