summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
Diffstat (limited to 'preprocessor.py')
-rw-r--r--preprocessor.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/preprocessor.py b/preprocessor.py
index 5758db323..7c1decd37 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -490,12 +490,6 @@ def macro_translator(macro, token, line):
else:
allowed_lengths = [allowed_length]
- if macro.macro_name == "notetype":
- allowed_lengths = [1,2]
- elif macro.macro_name == "togglenoise" \
- or macro.macro_name == "sfxtogglenoise":
- allowed_lengths = [0,1]
-
assert len(params) in allowed_lengths, \
"mismatched number of parameters on this line: " + \
original_line
@@ -589,4 +583,4 @@ def read_line(l):
sys.stdout.write(comment)
for l in sys.stdin:
- read_line(l) \ No newline at end of file
+ read_line(l)