diff --git a/examples/capabilitiesExample.kll b/examples/capabilitiesExample.kll index b390266..66b17b6 100644 --- a/examples/capabilitiesExample.kll +++ b/examples/capabilitiesExample.kll @@ -6,4 +6,5 @@ KLL = 0.3; myCapability2 => myFunc2(); myCapability3 => myFunc2( myArg1 : 2 ); myCapability => myFunc( myArg1 : 1, myArg2 : 4 ); +usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 ); diff --git a/examples/simple1.kll b/examples/simple1.kll index 5b91360..1ce1b4d 100644 --- a/examples/simple1.kll +++ b/examples/simple1.kll @@ -5,6 +5,7 @@ KLL = 0.3; myCapability2 => myFunc2(); myCapability3 => myFunc3( myArg1 : 2 ); myCapability => myFunc( myArg1 : 1, myArg2 : 4 ); +usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 ); S0x3 : myCapability2(); S0x4 : myCapability2() + myCapability3(0x5); diff --git a/kll.py b/kll.py index 76dc3b5..57fd37a 100755 --- a/kll.py +++ b/kll.py @@ -387,7 +387,6 @@ def optionExpansion( sequences ): curLeafList[ leaf ] = 0 if leaf + 1 < len( curLeafList ): curLeafList[ leaf + 1 ] += 1 - break return expandedSequences