Changes in directory llvm/projects/Stacker/lib/compiler:
StackerCompiler.cpp updated: 1.17 -> 1.18 StackerCompiler.h updated: 1.7 -> 1.8 --- Log message: For PR797: http://llvm.org/PR797 : Update to reflect ParseException becoming ParseError (from Parser.h) --- Diffs of the changes: (+6 -3) StackerCompiler.cpp | 5 +++-- StackerCompiler.h | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.17 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.18 --- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.17 Fri Jun 16 13:23:49 2006 +++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp Fri Aug 18 04:07:54 2006 @@ -110,8 +110,9 @@ if (F == 0) { - throw ParseException(filename, - "Could not open file '" + filename + "'"); + ParseError Err; + Err.setError(filename, "Could not open file '" + filename + "'"); + throw Err; } } Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.h diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.h:1.7 llvm/projects/Stacker/lib/compiler/StackerCompiler.h:1.8 --- llvm/projects/Stacker/lib/compiler/StackerCompiler.h:1.7 Sat Apr 23 16:26:10 2005 +++ llvm/projects/Stacker/lib/compiler/StackerCompiler.h Fri Aug 18 04:07:54 2006 @@ -158,7 +158,9 @@ { if (line == -1) line = Stackerlineno; // TODO: column number in exception - throw ParseException(TheInstance->CurFilename, message, line); + ParseError Err; + Err.setError(TheInstance->CurFilename, message, line); + throw Err; } private: /// @brief Generate code to increment the stack index _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits