Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmListFileLexer: Modify flex output to avoid Borland warning | Brad King | 2013-08-08 | 1 | -0/+1 |
| | | | | | | Remove the "yyscanner = NULL" assignment from the end of the yylex_destroy function because Borland warns that the value is never used. | ||||
* | Warn about arguments not separated by whitespace | Brad King | 2013-08-08 | 1 | -1/+5 |
| | | | | | | | | | | | Teach the lexer to return tokens for whitespace. Teach the parser to tolerate the space tokens where whitespace is allowed. Also teach the parser to diagnose and warn about cases of quoted arguments followed immediately by another argument. This was accidentally allowed previously, so we only warn. Update the RunCMake.Syntax test case StringNoSpace expected stderr to include the warnings. | ||||
* | cmListFileLexer: Split normal and legacy unquoted arguments | Brad King | 2013-08-08 | 1 | -1/+10 |
| | | | | | Match legacy arguments separately. Add macros to simplify and clarify matching rules. | ||||
* | cmListFileLexer: Fix line number after backslash in string | Brad King | 2013-08-08 | 1 | -1/+7 |
| | | | | | | If a line inside a string ends in a backslash count the following newline character as a line increment. Add a test covering this case to verify that subsequent line numbers are correct. | ||||
* | Document removal of 'register' from flex/bison output | Brad King | 2013-06-28 | 1 | -0/+1 |
| | | | | | | In each .l and .y input file that has instructions for manual transformation of the output to include a step to remove the 'register' storage specifier. | ||||
* | Convert CMake to OSI-approved BSD License | Brad King | 2009-09-28 | 1 | -14/+9 |
| | | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range. | ||||
* | COMP: Fix warnings produced by the change in include order from the ↵ | Brad King | 2006-08-09 | 1 | -5/+1 |
| | | | | re-organization of lexer code. | ||||
* | COMP: Moved duplicate flex-generated lexer warning suppression and ↵ | Brad King | 2006-08-08 | 1 | -22/+4 |
| | | | | cross-platform support code to a single cmStandardLexer.h included by all lexer sources. Added fix for macro redefinitions on Borland 5.8 compiler. | ||||
* | COMP: Fix and/or disable warnings for Borland 5.6 build. | Brad King | 2006-08-01 | 1 | -0/+5 |
| | |||||
* | BUG: When an unquoted argument contains a pair of matching double quotes ↵ | Brad King | 2005-09-19 | 1 | -1/+1 |
| | | | | spaces and tabs should be allowed in-between. This allows arguments like -DFOO='"bar zot"' to work. | ||||
* | BUG: Unquoted arguments can have quotes that are not at the beginning, but ↵ | Brad King | 2005-08-01 | 1 | -1/+1 |
| | | | | only an even number of them. | ||||
* | COMP: Defining YY_NO_INPUT to remove compilation of unused yyinput function. ↵ | Brad King | 2005-03-15 | 1 | -0/+1 |
| | | | | It was producing a warning about unreachable code. | ||||
* | ENH: Mangled lexer symbols to begin in cmListFileLexer_yy instead of just yy ↵ | Brad King | 2005-01-19 | 1 | -7/+7 |
| | | | | to avoid conflict with other lexers that may be added. | ||||
* | BUG#1179: Fix for syntax in unquoted arguments. | Brad King | 2004-09-20 | 1 | -1/+3 |
| | |||||
* | BUG#1049: Added error message when file ends in an unterminated string. | Brad King | 2004-08-31 | 1 | -1/+27 |
| | |||||
* | BUG: Fixed parsing of unquoted arguments to allow double-quotes within the ↵ | Brad King | 2004-06-18 | 1 | -1/+1 |
| | | | | argument. | ||||
* | ENH: Added cmListFileLexer_SetString method to allow a string to be parsed ↵ | Brad King | 2004-04-21 | 1 | -9/+91 |
| | | | | as input. | ||||
* | ERR: Removed YY_BREAK statements after return statements because they are ↵ | Brad King | 2003-12-09 | 1 | -0/+1 |
| | | | | unreachable. | ||||
* | ERR: Added missing static keyword to cmListFileLexerSetToken and ↵ | Brad King | 2003-12-09 | 1 | -4/+4 |
| | | | | cmListFileLexerAppend definitions. | ||||
* | ERR: Fixed comment about how to run flex to reflect new name of this file. | Brad King | 2003-12-08 | 1 | -1/+1 |
| | |||||
* | ERR: Renaming cmListFileLexer.l to cmListFileLexer.in.l to avoid make ↵ | Brad King | 2003-12-08 | 1 | -0/+327 |
programs trying to run lex automatically whn building cmListFileLexer.c. |