× Discussions for CodeTyphon Object Pascal Programming Language

Question F*ck CodeTools

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 years 7 months ago #11200 by AntonyRF
F*ck CodeTools was created by AntonyRF
Hello!
My code:
...

{$MODE DELPHI}   

type
  TLogQueue = TQueue<TLogData>;

...

And if i down ctrl + space in any lines of code then codetools return error
 Error: expected identifier, but found =
But i not have compile error and in CT 6.2 not exist this error. Please help me

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 7 months ago #11201 by Sternas Stefanos
Replied by Sternas Stefanos on topic F*ck CodeTools
Sir
FreePascal has many many changes on this

please try
{$mode objfpc}{$H+}
    
type
  TLogQueue = specialize TQueue <TLogData>;

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 years 7 months ago #11203 by AntonyRF
Replied by AntonyRF on topic F*ck CodeTools
Sir, i have more 600 000 lines of delphi code =(

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 7 months ago #11204 by Sternas Stefanos
Replied by Sternas Stefanos on topic F*ck CodeTools
My suggestion

split and put the declaration of your
type
TLogQueue = specialize TQueue <TLogData>;

to a new Unit with {$mode objfpc}{$H+} directive

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 years 7 months ago #11206 by AntonyRF
Replied by AntonyRF on topic F*ck CodeTools
Hmmm, you best of the best =)

Please Log in or Create an account to join the conversation.