1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/AsmParser
Reid Spencer c7c0e6c6ef 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.

llvm-svn: 29763
2006-08-18 08:43:06 +00:00
..
.cvsignore Add new generated files. 2006-03-23 23:48:12 +00:00
Lexer.cpp.cvs For PR797: 2006-08-18 08:43:06 +00:00
Lexer.l For PR797: 2006-08-18 08:43:06 +00:00
Lexer.l.cvs For PR797: 2006-08-18 08:43:06 +00:00
llvmAsmParser.cpp.cvs For PR797: 2006-08-18 08:43:06 +00:00
llvmAsmParser.h.cvs For PR797: 2006-08-18 08:43:06 +00:00
llvmAsmParser.y For PR797: 2006-08-18 08:43:06 +00:00
llvmAsmParser.y.cvs For PR797: 2006-08-18 08:43:06 +00:00
Makefile These libs use EH info 2006-07-07 16:44:31 +00:00
Parser.cpp For PR797: 2006-08-18 08:43:06 +00:00
ParserInternals.h For PR797: 2006-08-18 08:43:06 +00:00