Commit b7976767 by Zack Weinberg Committed by Zack Weinberg

* fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.

From-SVN: r33858
parent d80c3489
2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
* fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru> Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr-protos.c (jump_over_one_insn_p): New declaration. * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
......
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
NOTE TO DEVELOPERS NOTE TO DEVELOPERS
The routines you write here must work closely with both the fixincl.c The routines you write here must work closely with fixincl.c.
and the test_need.c program.
Here are the rules: Here are the rules:
...@@ -27,24 +26,19 @@ Here are the rules: ...@@ -27,24 +26,19 @@ Here are the rules:
5. Write to stderr only in the event of a reportable error 5. Write to stderr only in the event of a reportable error
In such an event, call "exit(1)". In such an event, call "exit(1)".
6. If "MAIN" is _not_ defined, then you have access to the fixDescList 6. You have access to the fixDescList entry for the fix in question.
entry for the fix in question. This may be useful, for example, This may be useful, for example, if there are pre-compiled
if there are pre-compiled selection expressions stored there. selection expressions stored there.
For example, you may do this if you know that the first For example, you may do this if you know that the first
test contains a useful regex. This is okay because, remember, test contains a useful regex. This is okay because, remember,
this code perforce works closely with the inclhack.def fixes!! this code perforce works closely with the inclhack.def fixes!!
tFixDesc* pMyDesc = fixDescList + MY_FIX_NAME_FIXIDX; tFixDesc* pMyDesc = fixDescList + MY_FIX_NAME_FIXIDX;
tTestDesc* pTestList = pMyDesc->p_test_desc; tTestDesc* pTestList = pMyDesc->p_test_desc;
regexec (pTestList->p_test_regex, ...) regexec (pTestList->p_test_regex, ...)
If MAIN _is_ defined, then you will have to compile it on
your own.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
This file is part of GNU CC. This file is part of GNU CC.
......
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
NOTE TO DEVELOPERS NOTE TO DEVELOPERS
The routines you write here must work closely with both the fixincl.c The routines you write here must work closely with fixincl.c.
and the test_need.c program.
Here are the rules: Here are the rules:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment