summaryrefslogtreecommitdiff
path: root/src/libicalss/icalsslexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libicalss/icalsslexer.c')
-rw-r--r--src/libicalss/icalsslexer.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/libicalss/icalsslexer.c b/src/libicalss/icalsslexer.c
index ac3a2ab7..a9cc8b26 100644
--- a/src/libicalss/icalsslexer.c
+++ b/src/libicalss/icalsslexer.c
@@ -1,4 +1,7 @@
-
+/**
+ SPDX-FileCopyrightText: 1999 Eric Busboom <eric@civicknowledge.com>
+ SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
+*/
#define YY_INT_ALIGNED short int
@@ -406,7 +409,7 @@ static yyconst flex_int16_t yy_accept[56] =
6, 11, 21, 21, 14, 21, 21, 13, 21, 21,
20, 12, 21, 15, 21, 21, 21, 2, 16, 21,
21, 21, 3, 1, 0
- } ;
+ };
static yyconst flex_int32_t yy_ec[256] =
{ 0,
@@ -535,18 +538,12 @@ char *yytext_ptr;
FILE: icalsslexer.l
CREATOR: eric 8 Aug 2000
- (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com>
+ SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
This program is free software; you can redistribute it and/or modify
- it under the terms of either:
- The LGPL as published by the Free Software Foundation, version
- 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html
- Or:
- The Mozilla Public License Version 2.0. You may obtain a copy of
- the License at https://www.mozilla.org/MPL/
The Original Code is eric. The Initial Developer of the Original
Code is Eric Busboom
@@ -556,8 +553,6 @@ char *yytext_ptr;
#include "icalssyacc.h"
#include "icalmemory.h"
-#include <string.h> /* For strdup() */
-
const char* input_buffer;
const char* input_buffer_p;