* data/bison.c++, data/bison.simple: Don't output the current file

name in #line, to avoid useless diffs between two identical
outputs under different names.
This commit is contained in:
Akim Demaille
2002-04-07 15:30:31 +00:00
parent 18bcecb07d
commit 26b23c1a49
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2002-04-07 Akim Demaille <akim@epita.fr>
* data/bison.c++, data/bison.simple: Don't output the current file
name in #line, to avoid useless diffs between two identical
outputs under different names.
2002-04-07 Akim Demaille <akim@epita.fr> 2002-04-07 Akim Demaille <akim@epita.fr>
* src/closure.c, src/print.c, src/reader.c, src/reduce.c: * src/closure.c, src/print.c, src/reader.c, src/reduce.c:

View File

@@ -129,7 +129,7 @@ typedef struct yyltype
#endif #endif
/* Line __line__ of __file__. */ /* Line __line__ of __file__. */
#line __oline__ "b4_output_parser_name" #line __oline__
/* All symbols defined below should begin with yy or YY, to avoid /* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local infringing on user name space. This should be done even for local
@@ -914,7 +914,7 @@ yyreduce:
} }
/* Line __line__ of __file__. */ /* Line __line__ of __file__. */
#line __oline__ "b4_output_parser_name" #line __oline__
[ yyvsp -= yylen; [ yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;