summaryrefslogtreecommitdiff
path: root/lang/pcc/files/patch-cc_cxxcom_scan.l
blob: 6b16d94c02770f1d9d68a203251a007b01b4da9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- cc/cxxcom/scan.l.orig	2014-08-18 11:27:34 UTC
+++ cc/cxxcom/scan.l
@@ -220,7 +220,8 @@ L?\"(\\.|[^\\"])*\"	{ yylval.strp = yytext; return C_S
 
 %%
 
-int lineno, issyshdr;
+extern int lineno;
+int issyshdr;
 char *ftitle = "<stdin>";
 
 static int