c/c++, asm: Write the asm-qualifier loop without "done" boolean
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 19 Dec 2018 15:55:28 +0000 (16:55 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 19 Dec 2018 15:55:28 +0000 (16:55 +0100)
commit9c9cfcbbbe659d16a216883ff9a9bcb098e243f0
tree8742fec0642ba8d01a47615e005f61c5bfe5e384
parent15c40a3b7ce64665f8b4552a45c0cdd9564598cc
c/c++, asm: Write the asm-qualifier loop without "done" boolean

As suggested by Jason.

c/
* c-parser.c (c_parser_asm_statement): Rewrite the loop to work without
"done" boolean variable.

cp/
* parser.c (cp_parser_asm_definition): Rewrite the loop to work without
"done" boolean variable.

From-SVN: r267277
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c