qgis-lexer.patch

patch for src/core/qgssearchstringlexer.ll, that enables compiling on msvc - orgads -, 2010-06-16 05:25 AM

Download (468 Bytes)

View differences:

qgssearchstringlexer.ll 2010-06-16 15:16:57.122147758 +0300
19 19
 
20 20
%option noyywrap
21 21
%option case-insensitive
22
%option never-interactive
22 23

  
23 24
 // ensure that lexer will be 8-bit (and not just 7-bit)
24 25
%option 8bit
......
34 35
// which doesn't in MSVC compiler
35 36
#define YY_NEVER_INTERACTIVE 1
36 37

  
38
#ifdef _MSC_VER
39
#define YY_NO_UNISTD_H
40
#endif
41

  
37 42
%}
38 43

  
39 44
white       [ \t\r\n]+