Commit afa1dec9 by Ian Lance Taylor

Fix bool test to permit spaces before the semicolon

From-SVN: r8854
parent a81bd72f
......@@ -1889,9 +1889,9 @@ for files in curses.h; do
#ifndef __cplusplus'\
-e '/^#[ ]*define[ ][ ]*bool[ ][ ]*char[ ]*$/a\
#endif'\
-e '/^typedef[ ][ ]*char[ ][ ]*bool;[ ]*$/i\
-e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;[ ]*$/i\
#ifndef __cplusplus'\
-e '/^typedef[ ][ ]*char[ ][ ]*bool;[ ]*$/a\
-e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;[ ]*$/a\
#endif'\
${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
......
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