diff options
Diffstat (limited to 'compiler/main.nim')
-rwxr-xr-x | compiler/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 11a139144..bd429cad9 100755 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -56,7 +56,7 @@ proc newModule(filename: string): PSym = result.kind = skModule result.name = getIdent(splitFile(filename).name) if not isNimrodIdentifier(result.name.s): - rawMessage(errIdentifierExpected, result.name.s) + rawMessage(errInvalidModuleName, result.name.s) result.owner = result # a module belongs to itself result.info = newLineInfo(filename, 1, 1) |