]> granicus.if.org Git - yasm/commitdiff
Remove definition of line_number; it was overriding the global variable.
authorPeter Johnson <peter@tortall.net>
Sun, 2 Dec 2001 07:47:05 +0000 (07:47 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 2 Dec 2001 07:47:05 +0000 (07:47 -0000)
svn path=/trunk/yasm/; revision=374

modules/parsers/nasm/token.l.in
src/parsers/nasm/token.l.in

index 2193cec68a4e91744997318ff9d270e73ea9faa9..bcaf5aa908506db4956352be25ab997636951712 100644 (file)
@@ -60,9 +60,6 @@ static size_t strbuf_size = 0;
 /* last "base" label for local (.) labels */
 char *nasm_parser_locallabel_base = (char *)NULL;
 
-/* current line number */
-int line_number;
-
 %}
 %option noyywrap
 %option nounput
index 2193cec68a4e91744997318ff9d270e73ea9faa9..bcaf5aa908506db4956352be25ab997636951712 100644 (file)
@@ -60,9 +60,6 @@ static size_t strbuf_size = 0;
 /* last "base" label for local (.) labels */
 char *nasm_parser_locallabel_base = (char *)NULL;
 
-/* current line number */
-int line_number;
-
 %}
 %option noyywrap
 %option nounput