View | Details | Raw Unified | Return to bug 60675
Collapse All | Expand All

(-)/home/samy/tmp/seyon/Makefile (-7 / +1 lines)
Lines 20-29 Link Here
20
20
21
MAN1=		seyon.1
21
MAN1=		seyon.1
22
22
23
.include <bsd.port.pre.mk>
23
.include <bsd.port.mk>
24
25
.if ${OSVERSION} >= 500113
26
BROKEN=		"Does not compile on FreeBSD ${OSVERSION} (missing header)"
27
.endif
28
29
.include <bsd.port.post.mk>
(-)/home/samy/tmp/seyon/files/patch-SeParse.y (+35 lines)
Line 0 Link Here
1
--- SeParse.y.orig	Mon Dec 29 07:24:02 2003
2
+++ SeParse.y	Mon Dec 29 07:28:38 2003
3
@@ -81,19 +81,19 @@
4
 {
5
   char long_line[1000];
6
 
7
-  char input_str[] = "This(is, a, real, funky); script();
8
-            Scripts(); Can(be); Multi(Line, \"Can't they?\");
9
-            Commas(are, no, longer, optional, inside, arglists);
10
-	    Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\");
11
-	    As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside
12
-	    quoted strings\"');
13
-	esc(can, appear, outside, strings, ^z, \\012\\015\\n);
14
-	    But(parenthesis, should, match);
15
-  We(\"have a funny way of specifying \\012 chars and even)\"); 
16
-	backslashes( \" \\\\ \");
17
-  new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\");
18
- The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions,
19
-	without, a, separating, semicolon);
20
+  char input_str[] = "This(is, a, real, funky); script();\n\
21
+            Scripts(); Can(be); Multi(Line, \"Can't they?\");\n\
22
+            Commas(are, no, longer, optional, inside, arglists);\n\
23
+	    Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\");\n\
24
+	    As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside\n\
25
+	    quoted strings\"');\n\
26
+	esc(can, appear, outside, strings, ^z, \\012\\015\\n);\n\
27
+	    But(parenthesis, should, match);\n\
28
+  We(\"have a funny way of specifying \\012 chars and even)\"); \n\
29
+	backslashes( \" \\\\ \");\n\
30
+  new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\");\n\
31
+ The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions,\n\
32
+	without, a, separating, semicolon);\n\
33
  End() script()";
34
 
35
   printf("------ String to parse: \n%s\n\n---- Parsing begins:\n", input_str);
(-)/home/samy/tmp/seyon/files/patch-SeScan.c (+13 lines)
Line 0 Link Here
1
--- SeScan.c.orig	Mon Dec 29 07:26:24 2003
2
+++ SeScan.c	Mon Dec 29 07:27:42 2003
3
@@ -275,8 +275,8 @@
4
 #ifdef TEST
5
 main()
6
 {
7
-  scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings
8
-\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'
9
+  scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings\n\
10
+\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'\n\
11
 Not to forget ^S and ^q control ^ chars");
12
 
13
   while (lGetWord() != 0);

Return to bug 60675