Commit 97da02a5 authored by Bruce Hoult's avatar Bruce Hoult Committed by randy.jeong
Browse files

enum operator<<() script fails with do { } while cond;



The script assumes that a line containing a '}' and a ';' will only
and always signal the end of a scope.
Unfortunately, this also matches '} while (myCond);',
thus incorrectly thinking it has reached the end of a scope.

This can result in enums being emitted without scope resolution
(or with insufficient scope resolution), cause compile errors.

Change-Id: I6e1b3453b941bff93ddd0b2a9fd3950182668728
Signed-off-by: default avatarrandy.jeong <randy.jeong@samsung.com>
parent 6010fa93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment