From 7eb95d77dcc182227834dd2ce9f2c3d2f297bc39 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 20 Dec 2011 10:20:53 +0000 Subject: [PATCH] codetools: removed modeswitch cs_pointermath git-svn-id: trunk@34318 - --- components/codetools/identcompletiontool.pas | 1 + components/codetools/linkscanner.pas | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/codetools/identcompletiontool.pas b/components/codetools/identcompletiontool.pas index 8d9dcaf7e1..eb31cc29c4 100644 --- a/components/codetools/identcompletiontool.pas +++ b/components/codetools/identcompletiontool.pas @@ -1989,6 +1989,7 @@ begin Key('PACKENUM'); Key('PACKRECORDS'); Key('PACKSET'); + Key('POINTERMATH'); Key('POP'); Key('PUSH'); Key('RANGECHECKS'); diff --git a/components/codetools/linkscanner.pas b/components/codetools/linkscanner.pas index 01a0625b9e..3cf66810f4 100644 --- a/components/codetools/linkscanner.pas +++ b/components/codetools/linkscanner.pas @@ -168,7 +168,6 @@ type cmsAdvancedRecords, { advanced record syntax with visibility sections, methods and properties } cmsISOLike_unary_minus,{ unary minus like in iso pascal: same precedence level as binary minus/plus } cmsSystemcodepage, { use system codepage as compiler codepage by default, emit ansistrings with system codepage } - cmsCS_Pointermath, { ? see http://wiki.freepascal.org/FPC_JVM/Language } cmsUnicodeStrings { ? see http://wiki.freepascal.org/FPC_JVM/Language } ); TCompilerModeSwitches = set of TCompilerModeSwitch; @@ -579,7 +578,7 @@ const 'DUPLICATELOCALS', 'PROPERTIES', 'ALLOWINLINE', 'EXCEPTIONS', 'OBJECTIVEC1', 'OBJECTIVEC2', 'NESTEDPROCVARS', 'NONLOCALGOTO', 'ADVANCEDRECORDS', 'ISOLIKE_UNARY_MINUS', 'SYSTEMCODEPAGE', - 'CS_POINTERMATH', 'UNICODESTRINGS'); + 'UNICODESTRINGS'); // upper case PascalCompilerNames: array[TPascalCompiler] of shortstring=(