diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-18 09:07:54 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-18 09:07:54 +0000 |
| commit | 2f94c5d186b744ba618db3b98df47fed04854c2a (patch) | |
| tree | 054a9c99ed7d54bf987bc79787d56a1bd3df0af4 /llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | |
| parent | 5495fe8dd62f9587de1089d590cb87e639f9e666 (diff) | |
| download | bcm5719-llvm-2f94c5d186b744ba618db3b98df47fed04854c2a.tar.gz bcm5719-llvm-2f94c5d186b744ba618db3b98df47fed04854c2a.zip | |
For PR797:
Update to reflect ParseException becoming ParseError (from Parser.h)
llvm-svn: 29766
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp')
| -rw-r--r-- | llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp index b9e41a889ce..a6d3995045b 100644 --- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -110,8 +110,9 @@ StackerCompiler::compile( if (F == 0) { - throw ParseException(filename, - "Could not open file '" + filename + "'"); + ParseError Err; + Err.setError(filename, "Could not open file '" + filename + "'"); + throw Err; } } |

