alx71hub / hcb

Hyperlinked C++ BNF Grammar
GNU General Public License v3.0
41 stars 7 forks source link

Missing `-or-` in `for-range-initializer` #5

Closed kmyk closed 3 years ago

kmyk commented 3 years ago

The current version says for-range-initializer is a concatenation of expression and braced-init-list.

for-range-initializer:
    expression braced-init-list     C++0x

However, it seems the disjunction is correct instead of concatenation.

alx71hub commented 3 years ago

Fixed