llvm-6502/include/llvm/Assembly
Reid Spencer 61c83e023f For PR797:
Rid the Assembly Parser of exceptions. This is a really gross hack but it
will do until the Assembly Parser is re-written as a recursive descent.
The basic premise is that wherever the old "ThrowException" function was
called (new name: GenerateError) we set a flag (TriggerError). Every
production checks that flag and calls YYERROR if it is set. Additionally,
each call to ThrowException in the grammar is replaced with GEN_ERROR
which calls GenerateError and then YYERROR immediately. This prevents
the remaining production from continuing after an error condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29763 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-18 08:43:06 +00:00
..
AsmAnnotationWriter.h Some cleanups for compilation with GCC 4.0.0 to remove warnings: 2005-05-15 16:13:11 +00:00
AutoUpgrade.h Fix some doxygen usage in these headers. 2006-05-19 19:07:54 +00:00
CachedWriter.h Remove trailing whitespace 2005-04-21 20:19:05 +00:00
Parser.h For PR797: 2006-08-18 08:43:06 +00:00
PrintModulePass.h Replace an old C-style cast with a C++ cast (squelch warning) 2006-05-29 02:32:43 +00:00
Writer.h Convert tabs to spaces 2005-04-22 03:27:20 +00:00