From e4feba54330e1afcfb8d48bce8c474659aba281c Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 17 May 2015 10:43:30 +1200 Subject: Introduce and enfoce uniqueness constraints for language components --- libpathod/language/actions.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpathod/language/actions.py') diff --git a/libpathod/language/actions.py b/libpathod/language/actions.py index e86394a0..f5b828fe 100644 --- a/libpathod/language/actions.py +++ b/libpathod/language/actions.py @@ -45,6 +45,8 @@ class _Action(base.Token): class PauseAt(_Action): + unique_name = None + def __init__(self, offset, seconds): _Action.__init__(self, offset) self.seconds = seconds @@ -93,6 +95,8 @@ class DisconnectAt(_Action): class InjectAt(_Action): + unique_name = None + def __init__(self, offset, value): _Action.__init__(self, offset) self.value = value -- cgit v1.2.3