Is it possible to escape a reserved keyword in Import/module?
BoQsc
vaidas.boqsc at gmail.com
Wed Jun 19 18:56:57 UTC 2019
I would like to make sure that my modules do not interfere with d
lang. Is there any way to escape reserved words?
https://dlang.org/spec/lex.html#keywords
> import alias;
C:\Users\Juozas\Desktop\om.d(2): Error: identifier expected
following import
C:\Users\Juozas\Desktop\om.d(2): Error: ; expected
> module abstract;
C:\Users\Juozas\Desktop\commands\alias.d(1): Error: identifier
expected following module
More information about the Digitalmars-d-learn
mailing list