diff options
| author | Florian Jung <flo@thinkpad.(none)> | 2011-01-01 17:02:53 +0100 |
|---|---|---|
| committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-01 17:02:53 +0100 |
| commit | 5e731c349b63a557b2e705ce3cd741f90c62c694 (patch) | |
| tree | 7b7206f38183f3d8ca437c1dac25ec82748371d6 /synth/main.cpp | |
| parent | d9fd174884bf999fa53216b2cc307379fe9b1084 (diff) | |
Replace class Parser with function parse()
Diffstat (limited to 'synth/main.cpp')
| -rw-r--r-- | synth/main.cpp | 4 |
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) { |
