summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/fastwc/wc1.l1
-rw-r--r--examples/fastwc/wc2.l1
-rw-r--r--examples/fastwc/wc3.l1
-rw-r--r--examples/fastwc/wc4.l1
-rw-r--r--examples/fastwc/wc5.l1
5 files changed, 5 insertions, 0 deletions
diff --git a/examples/fastwc/wc1.l b/examples/fastwc/wc1.l
index d6696bc..0d4fcf2 100644
--- a/examples/fastwc/wc1.l
+++ b/examples/fastwc/wc1.l
@@ -3,6 +3,7 @@
ws [ \t]
nonws [^ \t\n]
+%option main noyywrap
%%
int cc = 0, wc = 0, lc = 0;
diff --git a/examples/fastwc/wc2.l b/examples/fastwc/wc2.l
index bd63cd4..0da9953 100644
--- a/examples/fastwc/wc2.l
+++ b/examples/fastwc/wc2.l
@@ -4,6 +4,7 @@ ws [ \t]
nonws [^ \t\n]
word {ws}*{nonws}+
+%option main noyywrap
%%
int cc = 0, wc = 0, lc = 0;
diff --git a/examples/fastwc/wc3.l b/examples/fastwc/wc3.l
index 7c5f2e2..3cc5d57 100644
--- a/examples/fastwc/wc3.l
+++ b/examples/fastwc/wc3.l
@@ -5,6 +5,7 @@ nonws [^ \t\n]
word {ws}*{nonws}+
words {word}{ws}+
+%option main noyywrap
%%
int cc = 0, wc = 0, lc = 0;
diff --git a/examples/fastwc/wc4.l b/examples/fastwc/wc4.l
index cbe56f6..90c36ee 100644
--- a/examples/fastwc/wc4.l
+++ b/examples/fastwc/wc4.l
@@ -5,6 +5,7 @@ nonws [^ \t\n]
word {ws}*{nonws}+
words {word}{ws}+
+%option main noyywrap
%%
int cc = 0, wc = 0, lc = 0;
diff --git a/examples/fastwc/wc5.l b/examples/fastwc/wc5.l
index 8fe17b6..c479480 100644
--- a/examples/fastwc/wc5.l
+++ b/examples/fastwc/wc5.l
@@ -5,6 +5,7 @@ nonws [^ \t\n]
word {ws}*{nonws}+
words {word}{ws}+
+%option main noyywrap
%%
int cc = 0, wc = 0, lc = 0;