Open lesderid opened 5 years ago
Header files with a name of the format keyword.h (where keyword is any D keyword) aren't handled separately.
keyword.h
keyword
This results in errors when trying to import the module: e.g. import mylibrary.switch; results in Error: identifier expected following `package`.
import mylibrary.switch;
Error: identifier expected following `package`
Suggestion: append _ to the module name when it's a reserved identifier.
_
Header files with a name of the format
keyword.h
(wherekeyword
is any D keyword) aren't handled separately.This results in errors when trying to import the module: e.g.
import mylibrary.switch;
results inError: identifier expected following `package`
.Suggestion: append
_
to the module name when it's a reserved identifier.