Browse Source

correct gen_dot

Release_3.2.0-RC4
Volker Birk 9 months ago
parent
commit
0eca1d413b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      codegen/Makefile
  2. +1
    -1
      codegen/gen_dot.ysl2

+ 1
- 1
codegen/Makefile View File

@ -44,5 +44,5 @@ svg: $(patsubst %.dot,%.svg,$(wildcard *.dot))
$(YML2_PROC) -y gen_dot.ysl2 $< -o $@
%.svg: %.dot
dot -Tsvg -o $@ $<
dot -Tsvg $< -o $@ > /dev/null

+ 1
- 1
codegen/gen_dot.ysl2 View File

@ -4,7 +4,7 @@
include yslt.yml2
tstylesheet {
template "protocol/fsm[count(state)>0]" document "{@name}.dot", "text"
template "/protocol/fsm[count(state)>0]"
||
digraph finite_state_machine {
rankdir=LR;


Loading…
Cancel
Save