codetools: fix ShowCodeContext for predefined functions

git-svn-id: trunk@51386 -
This commit is contained in:
ondrej 2016-01-23 15:17:03 +00:00
parent 0ce59a4f03
commit 6fe2a8440e

View File

@ -2911,7 +2911,10 @@ var
or IsPointedSystem
or UpAtomIs('BEGIN')
or UpAtomIs('TRY') or UpAtomIs('FINALLY') or UpAtomIs('EXCEPT')
or UpAtomIs('REPEAT') or UpAtomIs('ASM') then begin
or UpAtomIs('ASM')
or UpAtomIs('REPEAT') or UpAtomIs('UNTIL') or UpAtomIs('WHILE') or UpAtomIs('DO')
or UpAtomIs('IF') or UpAtomIs('THEN') or UpAtomIs('ELSE')
then begin
// see fpc/compiler/psystem.pp
AddCompilerProc('Assert','Condition:Boolean;const Message:String');
AddCompilerProc('Assigned','P:Pointer','Boolean');