Modify parser to accept union syntax.

BUG=433947
R=viettrungluu@chromium.org

Review URL: https://codereview.chromium.org/774863005