You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've built the master branch of NML and now it seems that all vehicles do not accept switches for the length Action3 callback.
My source for the code can be found here: https://github.com/spnda/VGF-Set
(I use a python script to put all pnml files together, for the file in question look at src/trams/Type-P.pnml.
If length is given a switch, nmlc throws an error. However there's no error thrown when there is just a value passed.
length: 5;
The error I receive:
nmlc ERROR: "src/trams/Type-P.pnml", line 60: Unexpected identifier encountered: 'switch_type_p_length'
Included from: "vgf.pnml", line 1
Included from: "src/trams/Type-O.pnml", line 59
Included from: "vgf.pnml", line 1
Included from: "src/trams/Type-KEE.pnml", line 49
Included from: "vgf.pnml", line 2
Included from: "src/template.pnml", line 29
Included from: "vgf.pnml", line 1
Included from: "src/sort.pnml", line 15
Included from: "vgf.pnml", line 1
Included from: "src/header.pnml", line 9
Included from: "vgf.pnml", line 1
Included from: "src/checks.pnml", line 8
Included from: "vgf.pnml", line 1
Included from: "src/cargotable.pnml", line 6
Included from: "vgf.pnml", line 1
Included from: "src/basecost.pnml", line 8
Included from: "vgf.pnml", line 1
The text was updated successfully, but these errors were encountered:
So I've built the master branch of NML and now it seems that all vehicles do not accept switches for the
length
Action3 callback.My source for the code can be found here: https://github.com/spnda/VGF-Set
(I use a python script to put all pnml files together, for the file in question look at src/trams/Type-P.pnml.
If
length
is given a switch, nmlc throws an error. However there's no error thrown when there is just a value passed.The error I receive:
The text was updated successfully, but these errors were encountered: