summaryrefslogtreecommitdiff
path: root/synth/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'synth/main.cpp')
-rw-r--r--synth/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/synth/main.cpp b/synth/main.cpp
index deebf06..ae2e0d8 100644
--- a/synth/main.cpp
+++ b/synth/main.cpp
@@ -95,7 +95,6 @@ int main(int argc, char** argv)
lfo[i][j][k]= (1.0 + temp*(float(LFO_MAX)*k/N_LFO_LEVELS)) * ONE;
}
- Parser parser;
program_settings=new program_t[128];
for (i=0;i<128;i++)
@@ -104,8 +103,7 @@ int main(int argc, char** argv)
{
try
{
- parser.parse(programfile[i]);
- program_settings[i]=parser.get_results();
+ program_settings[i]=parse(programfile[i]);
}
catch (string err)
{