Initialize the muscle table before parsing the command line.

* src/getargs.c (quotearg.h, muscle_tab.h): Include.
	(getargs): Define file_name.
	* src/main.c (main): Initialize muscle_tab before calling
	getargs.
	* src/muscle_tab.c (muscle_init): No longer define file_name, as
	its value is not available yet.
This commit is contained in:
Akim Demaille
2008-07-29 12:47:41 +02:00
committed by Joel E. Denny
parent 33d2a86079
commit 75c21b618d
4 changed files with 17 additions and 6 deletions

View File

@@ -1,3 +1,13 @@
2008-11-07 Akim Demaille <demaille@gostai.com>
Initialize the muscle table before parsing the command line.
* src/getargs.c (quotearg.h, muscle_tab.h): Include.
(getargs): Define file_name.
* src/main.c (main): Initialize muscle_tab before calling
getargs.
* src/muscle_tab.c (muscle_init): No longer define file_name, as
its value is not available yet.
2008-11-09 Akim Demaille <demaille@gostai.com>
Require the generation of parse-gram.output.