summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsoltools/HIDCompiler/hidclex.l48
1 files changed, 6 insertions, 42 deletions
diff --git a/soltools/HIDCompiler/hidclex.l b/soltools/HIDCompiler/hidclex.l
index 6c1e62278d2b..df36c708f2a8 100755
--- a/soltools/HIDCompiler/hidclex.l
+++ b/soltools/HIDCompiler/hidclex.l
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hidclex.l,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -37,7 +37,7 @@
#pragma warning(push, 1)
#endif
-static char const Revision[] = "$Revision: 1.8 $" ;
+static char const Revision[] = "$Revision: 1.9 $" ;
/*
@@ -79,21 +79,6 @@ static int nInputFileDepth = 0;
#include <ctype.h>
-#if defined _MSC_VER
-#include <io.h>
-#endif
-
-char* lower(char* str)
-{
- size_t s= strlen(str);
- size_t i=0;
- while( i < s ){
- str[i] = (char) tolower( str[i] );
- i++;
- }
- return str;
-}
-
int alloc_cnt = 0;
void freestring( char const * ); //forward
@@ -192,24 +177,6 @@ void makestring(char** newstr, char* oldstr)
}
}
-int strncmpi(char* stra, char* strb, size_t cnt)
-{
- // like strncmp() but case insensitive
- size_t i;
- char a,b;
- for(i=0;i<cnt;i++){
- a = (char) tolower(stra[i]);
- b = (char) tolower(strb[i]);
- if( a < b )
- return -1;
- if( a > b )
- return 1;
- if( a == '\0' && b == '\0' )
- return 0;
- }
- return 0;
-}
-
#ifndef WNT
int strcmpi(char const * stra, char const * strb)
{
@@ -451,13 +418,6 @@ resource* pop_resource()
return stack[ stackptr-- ];
}
-void delete_stack()
-{
- while( stackptr > EMPTYSTACK )
- delete pop_resource();
-}
-
-
/* forward */
int eat_comment();
int eat_cpp_comment();
@@ -475,6 +435,10 @@ int eat_cpp_comment();
%}
+/* 89012 */
+%option never-interactive
+
+
simple ([^\n\"]*)
%p 7000
string \"{simple}((((\\\\)*(\\\"))?){simple})*\"
tr> 2013-04-11autoinstall ure private librariesMatúš Kukan 2013-04-10RepositoryFixes: clean up WNT import librariesMichael Stahl 2013-04-08RepositoryFixes: remove pointless i18nlangtag entryMichael Stahl 2013-04-06just a % missing ...Eike Rathke 2013-04-05new module i18nlangtagEike Rathke 2013-03-04Those libraries are not anymore used on windows at allFridrich Štrba 2012-12-30convert redland to gbuild and add to tail_buildPeter Foley 2012-11-20cairo: convert to gbuildMatúš Kukan 2012-11-20Merge branch 'feature/killsdf'Andras Timar 2012-11-15let's have only one orcus library in solverMatúš Kukan 2012-11-11Merge branch 'master' into feature/killsdfAndras Timar 2012-10-25graphite: convert to gbuildMatúš Kukan 2012-10-22mozilla import libraries have no "i" prefixMichael Stahl 2012-10-13Merge branch 'master' into feature/killsdfAndras Timar 2012-10-12convert librsvg to gbuildPeter Foley 2012-10-01gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl 2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl 2012-09-26this belongs to RepositoryFixesMatúš Kukan 2012-09-11rename orcus lib on mingw to fix buildDavid Tardon 2012-09-10Keep lexicographical sorting intactStephan Bergmann 2012-09-10libxslt: mangle exslt library name for WNTMichael Stahl 2012-09-09fix libpng name for WindowsMatúš Kukan