Update lexer file

pull/1/head
Timothy Pearson 11 years ago
parent acd46151c0
commit f75eec563e
  1. 260
      sipgen/lexer.c

@ -3,7 +3,7 @@
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
/* A lexical scanner generated by flex */
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
@ -1142,7 +1142,7 @@ int yy_flex_debug = 0;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 1 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
/*
* The SIP lexer.
*
@ -1160,7 +1160,7 @@ char *yytext;
* SIP is supplied WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#line 20 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 20 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -1390,7 +1390,7 @@ YY_DECL
register char *yy_cp, *yy_bp;
register int yy_act;
#line 60 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 60 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
#line 1397 "<stdout>"
@ -1479,372 +1479,372 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
#line 62 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 62 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_API;}
YY_BREAK
case 2:
YY_RULE_SETUP
#line 63 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 63 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_DEFENCODING;}
YY_BREAK
case 3:
YY_RULE_SETUP
#line 64 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 64 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PLUGIN;}
YY_BREAK
case 4:
YY_RULE_SETUP
#line 65 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 65 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_INCLUDE;}
YY_BREAK
case 5:
YY_RULE_SETUP
#line 66 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 66 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_OPTINCLUDE;}
YY_BREAK
case 6:
YY_RULE_SETUP
#line 67 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 67 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_IMPORT;}
YY_BREAK
case 7:
YY_RULE_SETUP
#line 68 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 68 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_MODULE;}
YY_BREAK
case 8:
YY_RULE_SETUP
#line 69 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 69 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_CMODULE;}
YY_BREAK
case 9:
YY_RULE_SETUP
#line 70 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 70 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_CONSMODULE;}
YY_BREAK
case 10:
YY_RULE_SETUP
#line 71 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 71 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_COMPOMODULE;}
YY_BREAK
case 11:
YY_RULE_SETUP
#line 72 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 72 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_TIMELINE;}
YY_BREAK
case 12:
YY_RULE_SETUP
#line 73 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 73 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PLATFORMS;}
YY_BREAK
case 13:
YY_RULE_SETUP
#line 74 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 74 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_FEATURE;}
YY_BREAK
case 14:
YY_RULE_SETUP
#line 75 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 75 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_LICENSE;}
YY_BREAK
case 15:
YY_RULE_SETUP
#line 76 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 76 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_MAPPEDTYPE;}
YY_BREAK
case 16:
YY_RULE_SETUP
#line 77 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 77 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_EXCEPTION;}
YY_BREAK
case 17:
YY_RULE_SETUP
#line 78 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 78 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_IF;}
YY_BREAK
case 18:
YY_RULE_SETUP
#line 79 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 79 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_DEFMETATYPE;}
YY_BREAK
case 19:
YY_RULE_SETUP
#line 80 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 80 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_DEFSUPERTYPE;}
YY_BREAK
case 20:
YY_RULE_SETUP
#line 81 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 81 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_END;}
YY_BREAK
case 21:
YY_RULE_SETUP
#line 82 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 82 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_CLASS;}
YY_BREAK
case 22:
YY_RULE_SETUP
#line 83 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 83 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_STRUCT;}
YY_BREAK
case 23:
YY_RULE_SETUP
#line 84 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 84 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PUBLIC;}
YY_BREAK
case 24:
YY_RULE_SETUP
#line 85 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 85 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PROTECTED;}
YY_BREAK
case 25:
YY_RULE_SETUP
#line 86 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 86 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PRIVATE;}
YY_BREAK
case 26:
YY_RULE_SETUP
#line 87 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 87 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIGNALS;}
YY_BREAK
case 27:
YY_RULE_SETUP
#line 88 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 88 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIGNALS;}
YY_BREAK
case 28:
YY_RULE_SETUP
#line 89 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 89 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIGNAL_METHOD;}
YY_BREAK
case 29:
YY_RULE_SETUP
#line 90 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 90 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SLOTS;}
YY_BREAK
case 30:
YY_RULE_SETUP
#line 91 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 91 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SLOTS;}
YY_BREAK
case 31:
YY_RULE_SETUP
#line 92 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 92 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SLOT_METHOD;}
YY_BREAK
case 32:
YY_RULE_SETUP
#line 93 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 93 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_CHAR;}
YY_BREAK
case 33:
YY_RULE_SETUP
#line 94 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 94 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_WCHAR_T;}
YY_BREAK
case 34:
YY_RULE_SETUP
#line 95 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 95 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_BOOL;}
YY_BREAK
case 35:
YY_RULE_SETUP
#line 96 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 96 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SHORT;}
YY_BREAK
case 36:
YY_RULE_SETUP
#line 97 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 97 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_INT;}
YY_BREAK
case 37:
YY_RULE_SETUP
#line 98 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 98 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_LONG;}
YY_BREAK
case 38:
YY_RULE_SETUP
#line 99 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 99 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_FLOAT;}
YY_BREAK
case 39:
YY_RULE_SETUP
#line 100 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 100 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_DOUBLE;}
YY_BREAK
case 40:
YY_RULE_SETUP
#line 101 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 101 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_VOID;}
YY_BREAK
case 41:
YY_RULE_SETUP
#line 102 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 102 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_VIRTUAL;}
YY_BREAK
case 42:
YY_RULE_SETUP
#line 103 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 103 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_ENUM;}
YY_BREAK
case 43:
YY_RULE_SETUP
#line 104 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 104 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIGNED;}
YY_BREAK
case 44:
YY_RULE_SETUP
#line 105 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 105 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_UNSIGNED;}
YY_BREAK
case 45:
YY_RULE_SETUP
#line 106 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 106 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_CONST;}
YY_BREAK
case 46:
YY_RULE_SETUP
#line 107 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 107 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_STATIC;}
YY_BREAK
case 47:
YY_RULE_SETUP
#line 108 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 108 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_TRUE;}
YY_BREAK
case 48:
YY_RULE_SETUP
#line 109 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 109 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_FALSE;}
YY_BREAK
case 49:
YY_RULE_SETUP
#line 110 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 110 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_NULL;}
YY_BREAK
case 50:
YY_RULE_SETUP
#line 111 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 111 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_TYPEDEF;}
YY_BREAK
case 51:
YY_RULE_SETUP
#line 112 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 112 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_NAMESPACE;}
YY_BREAK
case 52:
YY_RULE_SETUP
#line 113 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 113 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_OPERATOR;}
YY_BREAK
case 53:
YY_RULE_SETUP
#line 114 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 114 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_THROW;}
YY_BREAK
case 54:
YY_RULE_SETUP
#line 115 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 115 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_EXPLICIT;}
YY_BREAK
case 55:
YY_RULE_SETUP
#line 116 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 116 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_TEMPLATE;}
YY_BREAK
case 56:
YY_RULE_SETUP
#line 117 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 117 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SCOPE;}
YY_BREAK
case 57:
YY_RULE_SETUP
#line 118 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 118 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_LOGICAL_OR;}
YY_BREAK
case 58:
YY_RULE_SETUP
#line 119 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 119 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYOBJECT;}
YY_BREAK
case 59:
YY_RULE_SETUP
#line 120 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 120 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYTUPLE;}
YY_BREAK
case 60:
YY_RULE_SETUP
#line 121 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 121 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYLIST;}
YY_BREAK
case 61:
YY_RULE_SETUP
#line 122 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 122 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYDICT;}
YY_BREAK
case 62:
YY_RULE_SETUP
#line 123 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 123 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYCALLABLE;}
YY_BREAK
case 63:
YY_RULE_SETUP
#line 124 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 124 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYSLICE;}
YY_BREAK
case 64:
YY_RULE_SETUP
#line 125 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 125 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_PYTYPE;}
YY_BREAK
case 65:
YY_RULE_SETUP
#line 126 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 126 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPSIGNAL;}
YY_BREAK
case 66:
YY_RULE_SETUP
#line 127 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 127 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPSLOT;}
YY_BREAK
case 67:
YY_RULE_SETUP
#line 128 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 128 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPANYSLOT;}
YY_BREAK
case 68:
YY_RULE_SETUP
#line 129 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 129 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPRXCON;}
YY_BREAK
case 69:
YY_RULE_SETUP
#line 130 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 130 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPRXDIS;}
YY_BREAK
case 70:
YY_RULE_SETUP
#line 131 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 131 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPSLOTCON;}
YY_BREAK
case 71:
YY_RULE_SETUP
#line 132 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 132 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_SIPSLOTDIS;}
YY_BREAK
case 72:
YY_RULE_SETUP
#line 133 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 133 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_TQOBJECT;}
YY_BREAK
case 73:
YY_RULE_SETUP
#line 134 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 134 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{return TK_ELLIPSIS;}
YY_BREAK
case 74:
YY_RULE_SETUP
#line 137 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 137 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* Ignore whitespace. */
;
}
@ -1852,7 +1852,7 @@ YY_RULE_SETUP
case 75:
/* rule 75 can match eol */
YY_RULE_SETUP
#line 141 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 141 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* Maintain the line number. */
++inputFileStack[currentFile].lineno;
@ -1864,14 +1864,14 @@ YY_RULE_SETUP
YY_BREAK
case 76:
YY_RULE_SETUP
#line 150 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 150 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* Ignore C++ style comments. */
;
}
YY_BREAK
case 77:
YY_RULE_SETUP
#line 155 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 155 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* A signed decimal number. */
yylval.number = strtol(yytext,NULL,0);
return TK_NUMBER;
@ -1879,7 +1879,7 @@ YY_RULE_SETUP
YY_BREAK
case 78:
YY_RULE_SETUP
#line 161 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 161 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{/* A floating point number. */
yylval.real = strtod(yytext,NULL);
return TK_REAL;
@ -1887,7 +1887,7 @@ YY_RULE_SETUP
YY_BREAK
case 79:
YY_RULE_SETUP
#line 167 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 167 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* An unsigned hexadecimal number. */
yylval.number = strtol(yytext,NULL,16);
return TK_NUMBER;
@ -1895,7 +1895,7 @@ YY_RULE_SETUP
YY_BREAK
case 80:
YY_RULE_SETUP
#line 173 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 173 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* An identifier name. */
yylval.text = sipStrdup(yytext);
return TK_NAME;
@ -1903,7 +1903,7 @@ YY_RULE_SETUP
YY_BREAK
case 81:
YY_RULE_SETUP
#line 179 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 179 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* A relative pathname. */
yylval.text = sipStrdup(yytext);
return TK_PATHNAME;
@ -1912,7 +1912,7 @@ YY_RULE_SETUP
case 82:
/* rule 82 can match eol */
YY_RULE_SETUP
#line 185 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 185 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* A double-quoted string. */
char *dp, *sp;
@ -1939,7 +1939,7 @@ YY_RULE_SETUP
case 83:
/* rule 83 can match eol */
YY_RULE_SETUP
#line 209 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 209 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* A single-quoted character. */
if (strlen(yytext) != 3)
fatallex("Exactly one character expected between single quotes");
@ -1951,7 +1951,7 @@ YY_RULE_SETUP
YY_BREAK
case 84:
YY_RULE_SETUP
#line 219 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 219 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* Ignore C-style comments. */
BEGIN ccomment;
}
@ -1959,28 +1959,28 @@ YY_RULE_SETUP
case 85:
/* rule 85 can match eol */
YY_RULE_SETUP
#line 222 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 222 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{
++inputFileStack[currentFile].lineno;
}
YY_BREAK
case 86:
YY_RULE_SETUP
#line 225 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 225 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{
BEGIN INITIAL;
}
YY_BREAK
case 87:
YY_RULE_SETUP
#line 228 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 228 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{
;
}
YY_BREAK
case 88:
YY_RULE_SETUP
#line 233 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 233 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The software license. */
codeIdx = 0;
return TK_COPYING;
@ -1988,7 +1988,7 @@ YY_RULE_SETUP
YY_BREAK
case 89:
YY_RULE_SETUP
#line 238 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 238 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a from-type code block. */
codeIdx = 0;
return TK_FROMTYPE;
@ -1996,7 +1996,7 @@ YY_RULE_SETUP
YY_BREAK
case 90:
YY_RULE_SETUP
#line 243 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 243 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a to-type code block. */
codeIdx = 0;
return TK_TOTYPE;
@ -2004,7 +2004,7 @@ YY_RULE_SETUP
YY_BREAK
case 91:
YY_RULE_SETUP
#line 248 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 248 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a to-sub-class code block. */
codeIdx = 0;
return TK_TOSUBCLASS;
@ -2012,7 +2012,7 @@ YY_RULE_SETUP
YY_BREAK
case 92:
YY_RULE_SETUP
#line 253 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 253 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of an exported header code block. */
codeIdx = 0;
return TK_EXPHEADERCODE;
@ -2020,7 +2020,7 @@ YY_RULE_SETUP
YY_BREAK
case 93:
YY_RULE_SETUP
#line 258 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 258 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a module header code block. */
codeIdx = 0;
return TK_MODHEADERCODE;
@ -2028,7 +2028,7 @@ YY_RULE_SETUP
YY_BREAK
case 94:
YY_RULE_SETUP
#line 263 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 263 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a type header code block. */
codeIdx = 0;
return TK_TYPEHEADERCODE;
@ -2036,7 +2036,7 @@ YY_RULE_SETUP
YY_BREAK
case 95:
YY_RULE_SETUP
#line 268 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 268 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a pre-initialisation code block. */
codeIdx = 0;
return TK_PREINITCODE;
@ -2044,7 +2044,7 @@ YY_RULE_SETUP
YY_BREAK
case 96:
YY_RULE_SETUP
#line 273 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 273 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of an initialisation code block. */
codeIdx = 0;
return TK_INITCODE;
@ -2052,7 +2052,7 @@ YY_RULE_SETUP
YY_BREAK
case 97:
YY_RULE_SETUP
#line 278 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 278 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a post-initialisation code block. */
codeIdx = 0;
return TK_POSTINITCODE;
@ -2060,7 +2060,7 @@ YY_RULE_SETUP
YY_BREAK
case 98:
YY_RULE_SETUP
#line 283 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 283 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a unit code block. */
codeIdx = 0;
return TK_UNITCODE;
@ -2068,7 +2068,7 @@ YY_RULE_SETUP
YY_BREAK
case 99:
YY_RULE_SETUP
#line 288 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 288 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a module code block. */
codeIdx = 0;
return TK_MODCODE;
@ -2076,7 +2076,7 @@ YY_RULE_SETUP
YY_BREAK
case 100:
YY_RULE_SETUP
#line 293 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 293 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a type code block. */
codeIdx = 0;
return TK_TYPECODE;
@ -2084,7 +2084,7 @@ YY_RULE_SETUP
YY_BREAK
case 101:
YY_RULE_SETUP
#line 298 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 298 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a C++ method code block. */
codeIdx = 0;
return TK_METHODCODE;
@ -2092,7 +2092,7 @@ YY_RULE_SETUP
YY_BREAK
case 102:
YY_RULE_SETUP
#line 303 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 303 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a C++ virtual code block. */
codeIdx = 0;
return TK_VIRTUALCATCHERCODE;
@ -2100,7 +2100,7 @@ YY_RULE_SETUP
YY_BREAK
case 103:
YY_RULE_SETUP
#line 308 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 308 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a traverse code block. */
codeIdx = 0;
return TK_TRAVERSECODE;
@ -2108,7 +2108,7 @@ YY_RULE_SETUP
YY_BREAK
case 104:
YY_RULE_SETUP
#line 313 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 313 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a clear code block. */
codeIdx = 0;
return TK_CLEARCODE;
@ -2116,7 +2116,7 @@ YY_RULE_SETUP
YY_BREAK
case 105:
YY_RULE_SETUP
#line 318 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 318 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a get buffer code block. */
codeIdx = 0;
return TK_GETBUFFERCODE;
@ -2124,7 +2124,7 @@ YY_RULE_SETUP
YY_BREAK
case 106:
YY_RULE_SETUP
#line 323 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 323 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a release buffer code block. */
codeIdx = 0;
return TK_RELEASEBUFFERCODE;
@ -2132,7 +2132,7 @@ YY_RULE_SETUP
YY_BREAK
case 107:
YY_RULE_SETUP
#line 328 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 328 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a read buffer code block. */
codeIdx = 0;
return TK_READBUFFERCODE;
@ -2140,7 +2140,7 @@ YY_RULE_SETUP
YY_BREAK
case 108:
YY_RULE_SETUP
#line 333 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 333 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a write buffer code block. */
codeIdx = 0;
return TK_WRITEBUFFERCODE;
@ -2148,7 +2148,7 @@ YY_RULE_SETUP
YY_BREAK
case 109:
YY_RULE_SETUP
#line 338 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 338 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a segment count code block. */
codeIdx = 0;
return TK_SEGCOUNTCODE;
@ -2156,7 +2156,7 @@ YY_RULE_SETUP
YY_BREAK
case 110:
YY_RULE_SETUP
#line 343 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 343 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a char buffer code block. */
codeIdx = 0;
return TK_CHARBUFFERCODE;
@ -2164,7 +2164,7 @@ YY_RULE_SETUP
YY_BREAK
case 111:
YY_RULE_SETUP
#line 348 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 348 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a pickle code block. */
codeIdx = 0;
return TK_PICKLECODE;
@ -2172,7 +2172,7 @@ YY_RULE_SETUP
YY_BREAK
case 112:
YY_RULE_SETUP
#line 353 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 353 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a pre-Python code block. */
codeIdx = 0;
return TK_PREPYCODE;
@ -2180,7 +2180,7 @@ YY_RULE_SETUP
YY_BREAK
case 113:
YY_RULE_SETUP
#line 358 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 358 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a raise exception code block. */
codeIdx = 0;
return TK_RAISECODE;
@ -2188,7 +2188,7 @@ YY_RULE_SETUP
YY_BREAK
case 114:
YY_RULE_SETUP
#line 363 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 363 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a docstring block. */
codeIdx = 0;
return TK_DOCSTRING;
@ -2196,7 +2196,7 @@ YY_RULE_SETUP
YY_BREAK
case 115:
YY_RULE_SETUP
#line 368 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 368 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a documentation block. */
codeIdx = 0;
return TK_DOC;
@ -2204,7 +2204,7 @@ YY_RULE_SETUP
YY_BREAK
case 116:
YY_RULE_SETUP
#line 373 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 373 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of an exported documentation block. */
codeIdx = 0;
return TK_EXPORTEDDOC;
@ -2212,7 +2212,7 @@ YY_RULE_SETUP
YY_BREAK
case 117:
YY_RULE_SETUP
#line 378 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 378 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a Makefile code block. */
codeIdx = 0;
return TK_MAKEFILE;
@ -2220,7 +2220,7 @@ YY_RULE_SETUP
YY_BREAK
case 118:
YY_RULE_SETUP
#line 383 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 383 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of an access code block. */
codeIdx = 0;
return TK_ACCESSCODE;
@ -2228,7 +2228,7 @@ YY_RULE_SETUP
YY_BREAK
case 119:
YY_RULE_SETUP
#line 388 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 388 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a get code block. */
codeIdx = 0;
return TK_GETCODE;
@ -2236,7 +2236,7 @@ YY_RULE_SETUP
YY_BREAK
case 120:
YY_RULE_SETUP
#line 393 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 393 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The start of a set code block. */
codeIdx = 0;
return TK_SETCODE;
@ -2244,7 +2244,7 @@ YY_RULE_SETUP
YY_BREAK
case 121:
YY_RULE_SETUP
#line 398 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 398 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The end of a code block. */
BEGIN INITIAL;
codeIdx = -1;
@ -2254,7 +2254,7 @@ YY_RULE_SETUP
case 122:
/* rule 122 can match eol */
YY_RULE_SETUP
#line 404 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 404 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The end of a code line . */
struct inputFile *ifp;
@ -2276,7 +2276,7 @@ YY_RULE_SETUP
YY_BREAK
case 123:
YY_RULE_SETUP
#line 423 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 423 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* The contents of a code line. */
if (codeIdx == MAX_CODE_LINE_LENGTH)
fatallex("Line is too long");
@ -2286,14 +2286,14 @@ YY_RULE_SETUP
YY_BREAK
case 124:
YY_RULE_SETUP
#line 430 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 430 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
{ /* Anything else is returned as is. */
return yytext[0];
}
YY_BREAK
case 125:
YY_RULE_SETUP
#line 434 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 434 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"
ECHO;
YY_BREAK
#line 2300 "<stdout>"
@ -3299,7 +3299,7 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
#line 434 "/TEMP/sip4-tqt/sipgen/lexer.l"
#line 434 "/TEMP2/sip4-tqt-3.5.14/sipgen/lexer.l"

Loading…
Cancel
Save