Forum > Documentation (Maintaining -)

Fpc documentation completely ignores commonly used "{%H-}"

<< < (3/4) > >>

lagprogramming:
So, pascal code compiled in the past using Lazarus has been modified in order to hide some messages. The code that has been modified specially for the Lazarus IDE, reached both FPC and MseGui/MseIde projects. This is the explanation for those "{%H-}" texts appearing in all three projects, not that FPC documentation would need modifications, right!?

Martin_fr:

--- Quote from: lagprogramming on April 28, 2023, 02:19:00 pm ---So, pascal code compiled in the past using Lazarus has been modified in order to hide some messages. The code that has been modified specially for the Lazarus IDE, reached both FPC and MseGui/MseIde projects. This is the explanation for those "{%H-}" texts appearing in all three projects,

--- End quote ---

Probably... I don't know if MSE... does itself anything with "{%".


--- Quote ---not that FPC documentation would need modifications, right!?

--- End quote ---

You can compile any source with FPC outside any IDE. And you will then notice that the presence of "{%H-}" does not affect FPC in any way.
You can also put "{%foo}" into the sources. FPC wont mind.

From the point of FPC it is a comment. Nothing more.

From the point of (a) product(s) build on top of FPC => it has a meaning.

Martin_fr:
There are also several *.lpi and at least one *.lpk file in the fpc sources. Those are files for Lazarus. So, obviously fpc sources come with some content that is meant for Lazarus.

Чебурашка:
An extra question about {%H-}: i noticed that hints marked with this are hidden when compiling with Lazarus, but not when compilin with lazbuild... is this correct or am I wrong?

Martin_fr:

--- Quote from: Чебурашка on May 02, 2023, 03:16:48 pm ---An extra question about {%H-}: i noticed that hints marked with this are hidden when compiling with Lazarus, but not when compilin with lazbuild... is this correct or am I wrong?

--- End quote ---

I don't know....

It could be that the code is to IDE specific. And that too much code would need to be pulled into lazbuild.
I.e., I don't expect that Lazbuild is scanning sources (using codetools). But that is a pre-requisite for dealing with {%H-}.

Or it could be an oversight.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version