aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/FileLexer.l
Commit message (Collapse)AuthorAgeFilesLines
* Tighten up the specification to allow TableGen/nested-comment.td to passChris Lattner2005-09-061-3/+3
| | | | | | | (fixing a bug where / in a /* */ comment would cause it to not close). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23248 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial lexer and parser support for shifting values. Every use of thisChris Lattner2005-04-191-0/+5
| | | | | | | will lead to it being rejected though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21335 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to make VS happier, thanks to Morten Ofstad for pointing this out.Chris Lattner2004-10-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16956 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for dos style files.Chris Lattner2004-05-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13836 91177308-0d34-0410-b5e6-96231b3b80d8
* exit(1) instead of abort()'ing on errorChris Lattner2004-02-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11380 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix buggy error message problemChris Lattner2004-02-131-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11379 91177308-0d34-0410-b5e6-96231b3b80d8
* Ooops, top-level C++-comments aren't recognized by flex.Misha Brukman2004-02-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11337 91177308-0d34-0410-b5e6-96231b3b80d8
* * Convert C comments to C++ style (why are some one way, some another?!)Misha Brukman2004-02-121-30/+14
| | | | | | | | * Delete extra space, extra blank comment lines * Convert function comments to doxygen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11336 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright notice.John Criswell2003-10-211-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9324 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified the code so that we exit() with a non-zero value instead of callingJohn Criswell2003-09-091-1/+1
| | | | | | | | | abort() when we can't open the input filename. The abort() function generates a core dump if possible and is meant for handling errors so grand that even the program knows that debugging is necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8415 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneeded #includeChris Lattner2003-09-071-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8386 91177308-0d34-0410-b5e6-96231b3b80d8
* Added an option to TableGen that allows users to specify a directory in whichJohn Criswell2003-08-271-3/+36
| | | | | | | | | | | to find include files. TableGen will load include files from this directory if it cannot find them in the current directory. This feature was needed for building code inside the object tree (a la autoconf style). TODO: Allow for multiple -I options to specify a list of directories to search. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8159 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize $foo as a variableChris Lattner2003-08-101-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7712 91177308-0d34-0410-b5e6-96231b3b80d8
* Update file header commentChris Lattner2003-08-041-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7574 91177308-0d34-0410-b5e6-96231b3b80d8
* Transition complete, remove the obsolete 'set' keywordChris Lattner2003-08-041-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7566 91177308-0d34-0410-b5e6-96231b3b80d8
* Start transitioning towards using 'let X = y in' statements, instead of 'set ↵Chris Lattner2003-08-041-1/+2
| | | | | | X = y in'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7562 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial support for a new 'dag' typeChris Lattner2003-08-041-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7559 91177308-0d34-0410-b5e6-96231b3b80d8
* expand contractionChris Lattner2003-08-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7518 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for code fragmentsChris Lattner2003-07-301-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7440 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for the 'code' type.Chris Lattner2003-07-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7439 91177308-0d34-0410-b5e6-96231b3b80d8
* Move err() to the lexer, implement file inclusion capabilities directly in ↵Chris Lattner2003-07-301-6/+87
| | | | | | tblgen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7436 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor reorganization, move ParseFile to the lexerChris Lattner2003-07-301-0/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7432 91177308-0d34-0410-b5e6-96231b3b80d8
* Directly support C style comments in tblgen, but allow them to actually nestChris Lattner2003-07-301-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7429 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of TableGen utilityChris Lattner2002-12-021-0/+66
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4843 91177308-0d34-0410-b5e6-96231b3b80d8