File: flex.patch

package info (click to toggle)
haskell98-report 20080907-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,152 kB
  • sloc: haskell: 4,078; makefile: 323
file content (20 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use "%option noyywrap"
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/200172

--- haskell98-report-20080907.orig/tools/verbatim.lex
+++ haskell98-report-20080907/tools/verbatim.lex
@@ -1,3 +1,5 @@
+%option noyywrap
+
 %START  NORM  VERB  MATH  SYNTAX
 sp			[ \t]*
 verb			\n{sp}@{sp}\n
@@ -7,7 +9,6 @@ nl			{sp}\n{sp}
 %{
 #define PUSH		states[top++] =
 #define POP		BEGIN states[--top]
-#define yywrap() 	1
 %}
 %%
 			int states[256];