Commit 14f49207 authored by Sebastian Biewer's avatar Sebastian Biewer
Browse files

Fixes #5

parent 6142774c
...@@ -172,7 +172,7 @@ class CCS ...@@ -172,7 +172,7 @@ class CCS
result = null result = null
(result = pd if pd.name == name and argCount == pd.getArgCount()) for pd in @processDefinitions (result = pd if pd.name == name and argCount == pd.getArgCount()) for pd in @processDefinitions
if not result if not result
uid = "#{pd.name}&#{argCount}" uid = "#{name}&#{argCount}"
if @unknownProcessDefnitions[uid] != true if @unknownProcessDefnitions[uid] != true
@unknownProcessDefnitions[uid] = true @unknownProcessDefnitions[uid] = true
warning = ({message: "Did not find definition for process \"#{name}\" with #{argCount} arguments. Assuming stop (0).", wholeFile:true, name: "Missing process definition"}) warning = ({message: "Did not find definition for process \"#{name}\" with #{argCount} arguments. Assuming stop (0).", wholeFile:true, name: "Missing process definition"})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment