diff options
author | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 03:20:44 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-01-24 03:20:44 +0800 |
commit | fd279723663879e742e53d7b3503248f6af91791 (patch) | |
tree | 09233c88d6c42b5bb324be7c64a8f8c64ff02846 /libical/src/libicalss/icalsslexer.l | |
parent | 34bcd381ce1985cc762a896f15d427e368af95e5 (diff) | |
download | gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.gz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.bz2 gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.lz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.xz gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.tar.zst gsoc2013-evolution-fd279723663879e742e53d7b3503248f6af91791.zip |
This commit was generated by cvs2svn to compensate for changes in r7747,
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/; revision=7748
Diffstat (limited to 'libical/src/libicalss/icalsslexer.l')
-rw-r--r-- | libical/src/libicalss/icalsslexer.l | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libical/src/libicalss/icalsslexer.l b/libical/src/libicalss/icalsslexer.l index 0054984c6d..848a9bc74f 100644 --- a/libical/src/libicalss/icalsslexer.l +++ b/libical/src/libicalss/icalsslexer.l @@ -6,7 +6,7 @@ DESCRIPTION: - $Id: icalsslexer.l,v 1.1 2000/12/11 22:06:17 federico Exp $ + $Id: icalsslexer.l,v 1.1.1.2 2001/01/23 19:20:41 jpr Exp $ $Locker: $ (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org @@ -84,12 +84,10 @@ WHERE { return WHERE; } ">=" { return GREATEREQUALS; } AND { return AND; } OR { return OR; } +\' { return QUOTE; } [ \t\n\r]+ ; ; { return EOL; } -[\*A-Za-z0-9\-\.]+ { sslval.v_string= icalmemory_tmp_copy(sstext); - return STRING; } - -'[^'\n]*' { +\'[\*A-Za-z0-9\-\.]+\' { int c = input(); unput(c); if(c!='\''){ @@ -100,6 +98,10 @@ OR { return OR; } } } +[\*A-Za-z0-9\-\.]+ { sslval.v_string= icalmemory_tmp_copy(sstext); + return STRING; } + + . { return yytext[0]; } %% |