messages, prevent some false positives in message semantic

This commit is contained in:
Basile Burg 2017-09-01 23:02:09 +02:00
parent ed21c110e0
commit 541d14911c
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 6 additions and 1 deletions

View File

@ -1057,7 +1057,12 @@ begin
begin
if rng.empty then
break;
idt := rng.popUntil(alp)^.takeWhile(alp).yield;
idt := '';
// core|std.exception...
if rng.front = '.' then
rng.popFront^.popUntil(alp)
else
idt := rng.popUntil(alp)^.takeWhile(alp).yield;
if idt = '' then
exit;
result := messageSemantic.getType(idt);