/******************************************************************************
- * Copyright (c) 2000-2014 Ericsson Telecom AB
+ * Copyright (c) 2000-2016 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Baji, Laszlo
+ * Balasko, Jeno
+ * Baranyi, Botond
+ * Cserveni, Akos
+ * Delic, Adam
+ * Feher, Csaba
+ * Forstner, Matyas
+ * Kovacs, Ferenc
+ * Kremer, Peter
+ * Raduly, Csaba
+ * Szabados, Kristof
+ * Szabo, Janos Zoltan – initial implementation
+ * Zalanyi, Balazs Andor
+ *
******************************************************************************/
%option noyywrap
%option never-interactive
}
{LINECOMMENT} {
- Location loc(infile, current_line, current_column, current_line,
- current_column + yyleng);
- loc.error("Unterminated line comment (missing newline character at the end "
- "of file)");
current_column += yyleng;
}
xor RETURN(XorKeyword);
xor4b RETURN(Xor4bKeyword);
+ /* modifier keywords */
+
+"@nocase" RETURN(NocaseKeyword);
+"@lazy" RETURN(LazyKeyword);
+
/* special TITAN specific keywords */
"@try" RETURN(TitanSpecificTryKeyword);
"@catch" RETURN(TitanSpecificCatchKeyword);
-"@lazy" RETURN(TitanSpecificLazyKeyword);
"@profiler" RETURN(TitanSpecificProfilerKeyword);
+
/* Predefined function identifiers */
bit2hex RETURN(bit2hexKeyword);
hex2str RETURN(hex2strKeyword);
int2bit RETURN(int2bitKeyword);
int2char RETURN(int2charKeyword);
+int2enum RETURN(int2enumKeyword);
int2float RETURN(int2floatKeyword);
int2hex RETURN(int2hexKeyword);
int2oct RETURN(int2octKeyword);