Commit fd2c05e0 authored by Stefan Behnel's avatar Stefan Behnel

show an error when "language_level" directive is used anywhere below the module scope

parent 58c92bb6
......@@ -244,6 +244,7 @@ directive_scopes = { # defaults to available everywhere
'c_string_type': ('module',),
'c_string_encoding': ('module',),
'type_version_tag': ('module', 'cclass'),
'language_level': ('module',),
}
def parse_directive_value(name, value, relaxed_bool=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment