Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
24f54900
Commit
24f54900
authored
9 months ago
by
Loïc Correnson
Committed by
Virgile Prevosto
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[odoc] fix source doc indent
parent
f77a5f68
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/kernel_services/ast_queries/acsl_extension.mli
+13
-13
13 additions, 13 deletions
src/kernel_services/ast_queries/acsl_extension.mli
with
13 additions
and
13 deletions
src/kernel_services/ast_queries/acsl_extension.mli
+
13
−
13
View file @
24f54900
...
@@ -101,18 +101,18 @@ type extension_module_importer =
...
@@ -101,18 +101,18 @@ type extension_module_importer =
Here is a basic example:
Here is a basic example:
{[
{[
let count = ref 0
let count = ref 0
let foo_typer t
yping_conte
xt loc = function
let foo_typer
c
txt loc = function
| p ::
[] ->
|
[] ->
Ext_preds
let id = !count in incr count;
[ (typing_context.type_predicate
Ext_id id
typing_context
| [p] ->
(typing_conte
xt.post_state [Normal])
Ext_preds [ctxt.type_predicate ctxt (ct
xt.post_state [Normal])
p]
p)])
| _ ->
| [] -> let id = !
co
u
nt
in incr count; Ext_id id
typing_
cont
ext.error loc "expecting a predicate after keyword FOO"
| _ -> typing_context.error loc "expecting a predicate after keyword FOO"
let () =
let () =
Acsl_extension.register_behavior ~plugin:"myplugin" "FOO" foo_typer false
Acsl_extension.register_behavior ~plugin:"myplugin" "FOO" foo_typer false
]}
]}
@before 29.0-Copper parameters [plugin] and [is_same_ext] were not present
@before 29.0-Copper parameters [plugin] and [is_same_ext] were not present
@see <https://frama-c.com/download/frama-c-plugin-development-guide.pdf>
@see <https://frama-c.com/download/frama-c-plugin-development-guide.pdf>
...
@@ -161,7 +161,7 @@ val register_code_annot_next_both: register_extension
...
@@ -161,7 +161,7 @@ val register_code_annot_next_both: register_extension
Module importer extensions allow to extends the import clause with external
Module importer extensions allow to extends the import clause with external
loaders. For instance, consider the following declaration:
loaders. For instance, consider the following declaration:
{[
{[
//@ import A: foo::bar;
//@ import A: foo::bar;
]}
]}
This import clause will invoke an external module importer named ["A"]
This import clause will invoke an external module importer named ["A"]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment