#!/bin/sh
# Generates multilib.h.
-# Copyright (C) 1994-2017 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
#This file is part of GCC.
# Generate a regular expression to validate option combinations.
options_re=
for set in ${options}; do
- for opt in `echo ${set} | sed -e 's_[/|]_ _g'`; do
+ for opt in `echo ${set} | sed -e 's_[/|]_ _g' -e 's/+/./g' `; do
options_re="${options_re}${options_re:+|}${opt}"
done
done