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
b73e5ae2
Commit
b73e5ae2
authored
7 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
add acsl.xml for pandoc highlighting + better Makefile
parent
741564aa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/markdown-report/Makefile
+14
-2
14 additions, 2 deletions
src/plugins/markdown-report/Makefile
src/plugins/markdown-report/share/acsl.xml
+62
-0
62 additions, 0 deletions
src/plugins/markdown-report/share/acsl.xml
with
76 additions
and
2 deletions
src/plugins/markdown-report/Makefile
+
14
−
2
View file @
b73e5ae2
FRAMAC_SHARE
:=
$(
shell frama-c
-print-share-path
)
ifndef
FRAMAC_SHARE
FRAMAC_SHARE
:=
$(
shell frama-c
-print-share-path
)
endif
PLUGIN_NAME
:=
Report_markdown
PLUGIN_CMO
:=
markdown mdr_params parse_remarks eva_coverage md_gen
PLUGIN_NO_TEST
:=
true
PLUGIN_DISTRIB_EXTERNAL
:=
share/acsl.xml
include
$(FRAMAC_SHARE)/Makefile.dynamic
Report_markdown.mli
:
mdr_params.mli markdown.mli md_gen.mli Makefile
$(Report_markdown_DIR)/Report_markdown.mli
:
\
$(Report_markdown_DIR)/mdr_params.mli
\
$(Report_markdown_DIR)/markdown.mli
\
$(Report_markdown_DIR)/md_gen.mli
\
$(Report_markdown_DIR)/Makefile
echo
"module Mdr_params: sig"
>
$@
cat
mdr_params.mli
>>
$@
echo
"end"
>>
$@
...
...
@@ -16,3 +23,8 @@ Report_markdown.mli: mdr_params.mli markdown.mli md_gen.mli Makefile
echo
"module Md_gen: sig"
>>
$@
cat
md_gen.mli
>>
$@
echo
"end"
>>
$@
install
::
$(
PRINT_CP
)
$(
FRAMAC_DATADIR
)
/Report_markdown
$(
MKDIR
)
$(
FRAMAC_DATADIR
)
/Report_markdown
$(
CP
)
share/acsl.xml
$(
FRAMAC_DATADIR
)
/Report_markdown
This diff is collapsed.
Click to expand it.
src/plugins/markdown-report/share/acsl.xml
0 → 100644
+
62
−
0
View file @
b73e5ae2
<?xml version="1.0" encoding="UTF-8"?>
<language
name=
"ACSL"
version=
"1"
extensions=
"*.acsl"
section=
"Sources"
kateversion=
"2.4"
>
<highlighting>
<list
name=
"keywords"
>
<item>
allocates
</item>
<item>
assert
</item>
<item>
assigns
</item>
<item>
assumes
</item>
<item>
axiom
</item>
<item>
axiomatic
</item>
<item>
behavior
</item>
<item>
behaviors
</item>
<item>
boolean
</item>
<item>
breaks
</item>
<item>
complete
</item>
<item>
continues
</item>
<item>
data
</item>
<item>
decreases
</item>
<item>
disjoint
</item>
<item>
ensures
</item>
<item>
exit_behavior
</item>
<item>
frees
</item>
<item>
ghost
</item>
<item>
global
</item>
<item>
inductive
</item>
<item>
integer
</item>
<item>
invariant
</item>
<item>
lemma
</item>
<item>
logic
</item>
<item>
loop
</item>
<item>
model
</item>
<item>
predicate
</item>
<item>
reads
</item>
<item>
real
</item>
<item>
requires
</item>
<item>
returns
</item>
<item>
sizeof
</item>
<item>
strong
</item>
<item>
struct
</item>
<item>
terminates
</item>
<item>
type
</item>
<item>
union
</item>
<item>
variant
</item>
</list>
<contexts>
<context
attribute=
"Normal Text"
lineEndContext=
"#pop"
name=
"Normal Text"
>
<keyword
attribute=
"Keyword"
context=
"#stay"
String=
"keywords"
/>
<DetectChar
attribute=
"Keyword"
context=
"bskeyword"
char=
"\"
/>
</context>
<context
name=
"bskeyword"
attribute=
"Keyword"
lineEndContext=
"#pop"
>
<DetectIdentifier
attribute=
"Keyword"
context=
"#pop"
/>
</context>
</contexts>
<itemDatas>
<itemData
name=
"Normal Text"
defStyleNum=
"dsNormal"
/>
<itemData
name=
"Keyword"
defStyleNum=
"dsKeyword"
/>
</itemDatas>
<general>
</general>
</highlighting>
</language>
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