Changeset 9725 for branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/GpdlEditor.cs
- Timestamp:
- 07/19/13 00:52:19 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/GpdlEditor.cs
r9724 r9725 20 20 21 21 private void compileButton_Click(object sender, EventArgs e) { 22 //Utils.InstallModule("Utils", Utils.UtilsMethod);23 //Utils.InstallModule("Sets", Sets.SetsMethod);24 //Utils.InstallModule("Errors", Errors.ErrorsMethod);25 26 //Utils.InstallModule("GPDefLex", GPDefLex.GPDefLexMethod);27 //Utils.InstallModule("GPDefSem", GPDefSem.GPDefSemMethod);28 //Utils.InstallModule("GPDefSyn", GPDefSyn.GPDefSynMethod);29 30 //// --- initialize modules ---31 //Utils.Modules(Utils.ModuleAction.initModule);32 33 //Errors.PushAbortMethod(new Errors.AbortMethod(Abort));34 22 35 23 using (var src = new MemoryStream(Encoding.UTF8.GetBytes(codeEditor.textEditor.Text))) { … … 37 25 Parser parser = new Parser(scanner); 38 26 parser.Parse(); 27 MainForm.MainFormManager.MainForm.ShowContent(Parser.problem); 39 28 } 40 29 … … 45 34 // GPDefSyn.Interpret(); 46 35 47 // MainForm.MainFormManager.MainForm.ShowContent(GPDefSem.problem);48 36 //} else { 49 37 // int nLexErrors = Errors.NumOfLexErrors(); … … 60 48 } 61 49 62 private void Abort(string abortKind, string moduleName, string methodName, string descr) {63 64 }65 50 66 51 void IProblemInstanceConsumer<string>.Load(string data) {
Note: See TracChangeset
for help on using the changeset viewer.