Avoid parse errors for C++ attributes
Just ignore anything in between [[ and ]] in the scanner, which is better that failing with a parse error. Fixes #1158 Fixes #2286
This commit is contained in:
parent
5a96a39aa4
commit
d3759a9b36
6 changed files with 86 additions and 4 deletions
|
|
@ -583,6 +583,7 @@ CPP11_TEST_CASES += \
|
|||
cpp11_alias_nested_template_scoping \
|
||||
cpp11_alignment \
|
||||
cpp11_alternate_function_syntax \
|
||||
cpp11_attribute_specifiers \
|
||||
cpp11_constexpr \
|
||||
cpp11_decltype \
|
||||
cpp11_default_delete \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue