"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "c/parsing/mlr_dsl_lexer.c" between
mlr-5.9.0.tar.gz and mlr-5.9.1.tar.gz

About: Miller is like sed, awk, cut, join, and sort for name-indexed data such as CSV and tabular JSON.

mlr_dsl_lexer.c  (mlr-5.9.0):mlr_dsl_lexer.c  (mlr-5.9.1)
skipping to change at line 831 skipping to change at line 831
288, 288, 288, 288, 288, 288, 288, 288, 288, 288 288, 288, 288, 288, 288, 288, 288, 288, 288, 288
} ; } ;
/* The intent behind this definition is that it'll catch /* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed. * any uses of REJECT which flex missed.
*/ */
#define REJECT reject_used_but_not_detected #define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected #define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0 #define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET #define YY_RESTORE_YY_MORE_OFFSET
#line 1 "mlr_dsl_lexer.l" #line 1 "./mlr_dsl_lexer.l"
#line 2 "mlr_dsl_lexer.l" #line 2 "./mlr_dsl_lexer.l"
#include "stdio.h" // for fileno() prototype #include "stdio.h" // for fileno() prototype
#include "string.h" // for strdup() prototype #include "string.h" // for strdup() prototype
#include "mlr_dsl_parse.h" #include "mlr_dsl_parse.h"
#include "../dsl/mlr_dsl_ast.h" #include "../dsl/mlr_dsl_ast.h"
// http://flex.sourceforge.net/manual/Extra-Data.html // http://flex.sourceforge.net/manual/Extra-Data.html
// NOTE: any new keywords defined here should also be documented // NOTE: any new keywords defined here should also be documented
// in dsl/mlr_dsl_cst.c's mlr_dsl_keyword_usage() et al. // in dsl/mlr_dsl_cst.c's mlr_dsl_keyword_usage() et al.
#line 842 "mlr_dsl_lexer.c" #line 842 "mlr_dsl_lexer.c"
#line 843 "mlr_dsl_lexer.c" #line 843 "mlr_dsl_lexer.c"
skipping to change at line 1100 skipping to change at line 1100
if ( ! YY_CURRENT_BUFFER ) { if ( ! YY_CURRENT_BUFFER ) {
yyensure_buffer_stack (yyscanner); yyensure_buffer_stack (yyscanner);
YY_CURRENT_BUFFER_LVALUE = YY_CURRENT_BUFFER_LVALUE =
yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
} }
yy_load_buffer_state( yyscanner ); yy_load_buffer_state( yyscanner );
} }
{ {
#line 16 "mlr_dsl_lexer.l" #line 16 "./mlr_dsl_lexer.l"
#line 1104 "mlr_dsl_lexer.c" #line 1104 "mlr_dsl_lexer.c"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is rea ched */ while ( /*CONSTCOND*/1 ) /* loops until end-of-file is rea ched */
{ {
yy_cp = yyg->yy_c_buf_p; yy_cp = yyg->yy_c_buf_p;
/* Support of yytext. */ /* Support of yytext. */
*yy_cp = yyg->yy_hold_char; *yy_cp = yyg->yy_hold_char;
skipping to change at line 1161 skipping to change at line 1161
{ /* beginning of action switch */ { /* beginning of action switch */
case 0: /* must back up */ case 0: /* must back up */
/* undo the effects of YY_DO_BEFORE_ACTION */ /* undo the effects of YY_DO_BEFORE_ACTION */
*yy_cp = yyg->yy_hold_char; *yy_cp = yyg->yy_hold_char;
yy_cp = yyg->yy_last_accepting_cpos; yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state; yy_current_state = yyg->yy_last_accepting_state;
goto yy_find_action; goto yy_find_action;
case 1: case 1:
YY_RULE_SETUP YY_RULE_SETUP
#line 18 "mlr_dsl_lexer.l" #line 18 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_SEMICOLON; return MD_TOKEN_SEMICOLON;
} }
YY_BREAK YY_BREAK
case 2: case 2:
YY_RULE_SETUP YY_RULE_SETUP
#line 22 "mlr_dsl_lexer.l" #line 22 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_LBRACE; return MD_TOKEN_LBRACE;
} }
YY_BREAK YY_BREAK
case 3: case 3:
YY_RULE_SETUP YY_RULE_SETUP
#line 26 "mlr_dsl_lexer.l" #line 26 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_RBRACE; return MD_TOKEN_RBRACE;
} }
YY_BREAK YY_BREAK
case 4: case 4:
YY_RULE_SETUP YY_RULE_SETUP
#line 31 "mlr_dsl_lexer.l" #line 31 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_SREC_ASSIGNMEN T); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_SREC_ASSIGNMEN T);
return MD_TOKEN_ASSIGN; return MD_TOKEN_ASSIGN;
} }
YY_BREAK YY_BREAK
case 5: case 5:
YY_RULE_SETUP YY_RULE_SETUP
#line 35 "mlr_dsl_lexer.l" #line 35 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FILTER); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FILTER);
return MD_TOKEN_FILTER; return MD_TOKEN_FILTER;
} }
YY_BREAK YY_BREAK
case 6: case 6:
YY_RULE_SETUP YY_RULE_SETUP
#line 39 "mlr_dsl_lexer.l" #line 39 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_UNSET); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_UNSET);
return MD_TOKEN_UNSET; return MD_TOKEN_UNSET;
} }
YY_BREAK YY_BREAK
case 7: case 7:
YY_RULE_SETUP YY_RULE_SETUP
#line 43 "mlr_dsl_lexer.l" #line 43 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_TEE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_TEE);
return MD_TOKEN_TEE; return MD_TOKEN_TEE;
} }
YY_BREAK YY_BREAK
case 8: case 8:
YY_RULE_SETUP YY_RULE_SETUP
#line 47 "mlr_dsl_lexer.l" #line 47 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMITF); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMITF);
return MD_TOKEN_EMITF; return MD_TOKEN_EMITF;
} }
YY_BREAK YY_BREAK
case 9: case 9:
YY_RULE_SETUP YY_RULE_SETUP
#line 51 "mlr_dsl_lexer.l" #line 51 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMITP); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMITP);
return MD_TOKEN_EMITP; return MD_TOKEN_EMITP;
} }
YY_BREAK YY_BREAK
case 10: case 10:
YY_RULE_SETUP YY_RULE_SETUP
#line 55 "mlr_dsl_lexer.l" #line 55 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMIT); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EMIT);
return MD_TOKEN_EMIT; return MD_TOKEN_EMIT;
} }
YY_BREAK YY_BREAK
case 11: case 11:
YY_RULE_SETUP YY_RULE_SETUP
#line 59 "mlr_dsl_lexer.l" #line 59 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_DUMP); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_DUMP);
return MD_TOKEN_DUMP; return MD_TOKEN_DUMP;
} }
YY_BREAK YY_BREAK
case 12: case 12:
YY_RULE_SETUP YY_RULE_SETUP
#line 63 "mlr_dsl_lexer.l" #line 63 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EDUMP); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EDUMP);
return MD_TOKEN_EDUMP; return MD_TOKEN_EDUMP;
} }
YY_BREAK YY_BREAK
case 13: case 13:
YY_RULE_SETUP YY_RULE_SETUP
#line 67 "mlr_dsl_lexer.l" #line 67 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_PRINT); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_PRINT);
return MD_TOKEN_PRINT; return MD_TOKEN_PRINT;
} }
YY_BREAK YY_BREAK
case 14: case 14:
YY_RULE_SETUP YY_RULE_SETUP
#line 71 "mlr_dsl_lexer.l" #line 71 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_PRINTN); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_PRINTN);
return MD_TOKEN_PRINTN; return MD_TOKEN_PRINTN;
} }
YY_BREAK YY_BREAK
case 15: case 15:
YY_RULE_SETUP YY_RULE_SETUP
#line 75 "mlr_dsl_lexer.l" #line 75 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EPRINT); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EPRINT);
return MD_TOKEN_EPRINT; return MD_TOKEN_EPRINT;
} }
YY_BREAK YY_BREAK
case 16: case 16:
YY_RULE_SETUP YY_RULE_SETUP
#line 79 "mlr_dsl_lexer.l" #line 79 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EPRINTN); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_EPRINTN);
return MD_TOKEN_EPRINTN; return MD_TOKEN_EPRINTN;
} }
YY_BREAK YY_BREAK
case 17: case 17:
YY_RULE_SETUP YY_RULE_SETUP
#line 83 "mlr_dsl_lexer.l" #line 83 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STDOUT); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STDOUT);
return MD_TOKEN_STDOUT; return MD_TOKEN_STDOUT;
} }
YY_BREAK YY_BREAK
case 18: case 18:
YY_RULE_SETUP YY_RULE_SETUP
#line 87 "mlr_dsl_lexer.l" #line 87 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STDERR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STDERR);
return MD_TOKEN_STDERR; return MD_TOKEN_STDERR;
} }
YY_BREAK YY_BREAK
case 19: case 19:
YY_RULE_SETUP YY_RULE_SETUP
#line 92 "mlr_dsl_lexer.l" #line 92 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_FUNC_DEF; return MD_TOKEN_FUNC_DEF;
} }
YY_BREAK YY_BREAK
case 20: case 20:
YY_RULE_SETUP YY_RULE_SETUP
#line 96 "mlr_dsl_lexer.l" #line 96 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_SUBR_DEF; return MD_TOKEN_SUBR_DEF;
} }
YY_BREAK YY_BREAK
case 21: case 21:
YY_RULE_SETUP YY_RULE_SETUP
#line 100 "mlr_dsl_lexer.l" #line 100 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_SUBR_CALL; return MD_TOKEN_SUBR_CALL;
} }
YY_BREAK YY_BREAK
case 22: case 22:
YY_RULE_SETUP YY_RULE_SETUP
#line 104 "mlr_dsl_lexer.l" #line 104 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_RETURN; return MD_TOKEN_RETURN;
} }
YY_BREAK YY_BREAK
case 23: case 23:
YY_RULE_SETUP YY_RULE_SETUP
#line 108 "mlr_dsl_lexer.l" #line 108 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_BEGIN; return MD_TOKEN_BEGIN;
} }
YY_BREAK YY_BREAK
case 24: case 24:
YY_RULE_SETUP YY_RULE_SETUP
#line 112 "mlr_dsl_lexer.l" #line 112 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_END; return MD_TOKEN_END;
} }
YY_BREAK YY_BREAK
case 25: case 25:
YY_RULE_SETUP YY_RULE_SETUP
#line 116 "mlr_dsl_lexer.l" #line 116 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_ALL); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_ALL);
return MD_TOKEN_ALL; return MD_TOKEN_ALL;
} }
YY_BREAK YY_BREAK
case 26: case 26:
YY_RULE_SETUP YY_RULE_SETUP
#line 121 "mlr_dsl_lexer.l" #line 121 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_DO_WHILE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_DO_WHILE);
return MD_TOKEN_DO; return MD_TOKEN_DO;
} }
YY_BREAK YY_BREAK
case 27: case 27:
YY_RULE_SETUP YY_RULE_SETUP
#line 125 "mlr_dsl_lexer.l" #line 125 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_WHILE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_WHILE);
return MD_TOKEN_WHILE; return MD_TOKEN_WHILE;
} }
YY_BREAK YY_BREAK
case 28: case 28:
YY_RULE_SETUP YY_RULE_SETUP
#line 129 "mlr_dsl_lexer.l" #line 129 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_FOR; return MD_TOKEN_FOR;
} }
YY_BREAK YY_BREAK
case 29: case 29:
YY_RULE_SETUP YY_RULE_SETUP
#line 133 "mlr_dsl_lexer.l" #line 133 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IN); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IN);
return MD_TOKEN_IN; return MD_TOKEN_IN;
} }
YY_BREAK YY_BREAK
case 30: case 30:
YY_RULE_SETUP YY_RULE_SETUP
#line 137 "mlr_dsl_lexer.l" #line 137 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BREAK); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BREAK);
return MD_TOKEN_BREAK; return MD_TOKEN_BREAK;
} }
YY_BREAK YY_BREAK
case 31: case 31:
YY_RULE_SETUP YY_RULE_SETUP
#line 141 "mlr_dsl_lexer.l" #line 141 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTINUE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTINUE);
return MD_TOKEN_CONTINUE; return MD_TOKEN_CONTINUE;
} }
YY_BREAK YY_BREAK
case 32: case 32:
YY_RULE_SETUP YY_RULE_SETUP
#line 145 "mlr_dsl_lexer.l" #line 145 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM);
return MD_TOKEN_IF; return MD_TOKEN_IF;
} }
YY_BREAK YY_BREAK
case 33: case 33:
YY_RULE_SETUP YY_RULE_SETUP
#line 149 "mlr_dsl_lexer.l" #line 149 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM);
return MD_TOKEN_ELIF; return MD_TOKEN_ELIF;
} }
YY_BREAK YY_BREAK
case 34: case 34:
YY_RULE_SETUP YY_RULE_SETUP
#line 153 "mlr_dsl_lexer.l" #line 153 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_IF_ITEM);
return MD_TOKEN_ELSE; return MD_TOKEN_ELSE;
} }
YY_BREAK YY_BREAK
case 35: case 35:
YY_RULE_SETUP YY_RULE_SETUP
#line 158 "mlr_dsl_lexer.l" #line 158 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_QUESTION_MARK; return MD_TOKEN_QUESTION_MARK;
} }
YY_BREAK YY_BREAK
case 36: case 36:
YY_RULE_SETUP YY_RULE_SETUP
#line 163 "mlr_dsl_lexer.l" #line 163 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_COLON; return MD_TOKEN_COLON;
} }
YY_BREAK YY_BREAK
case 37: case 37:
YY_RULE_SETUP YY_RULE_SETUP
#line 168 "mlr_dsl_lexer.l" #line 168 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_OR; return MD_TOKEN_LOGICAL_OR;
} }
YY_BREAK YY_BREAK
case 38: case 38:
YY_RULE_SETUP YY_RULE_SETUP
#line 172 "mlr_dsl_lexer.l" #line 172 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_OR_EQUALS; return MD_TOKEN_LOGICAL_OR_EQUALS;
} }
YY_BREAK YY_BREAK
case 39: case 39:
YY_RULE_SETUP YY_RULE_SETUP
#line 176 "mlr_dsl_lexer.l" #line 176 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_XOR; return MD_TOKEN_LOGICAL_XOR;
} }
YY_BREAK YY_BREAK
case 40: case 40:
YY_RULE_SETUP YY_RULE_SETUP
#line 180 "mlr_dsl_lexer.l" #line 180 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_XOR_EQUALS; return MD_TOKEN_LOGICAL_XOR_EQUALS;
} }
YY_BREAK YY_BREAK
case 41: case 41:
YY_RULE_SETUP YY_RULE_SETUP
#line 184 "mlr_dsl_lexer.l" #line 184 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_AND; return MD_TOKEN_LOGICAL_AND;
} }
YY_BREAK YY_BREAK
case 42: case 42:
YY_RULE_SETUP YY_RULE_SETUP
#line 188 "mlr_dsl_lexer.l" #line 188 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_AND_EQUALS; return MD_TOKEN_LOGICAL_AND_EQUALS;
} }
YY_BREAK YY_BREAK
case 43: case 43:
YY_RULE_SETUP YY_RULE_SETUP
#line 193 "mlr_dsl_lexer.l" #line 193 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_MATCHES; return MD_TOKEN_MATCHES;
} }
YY_BREAK YY_BREAK
case 44: case 44:
YY_RULE_SETUP YY_RULE_SETUP
#line 197 "mlr_dsl_lexer.l" #line 197 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_DOES_NOT_MATCH; return MD_TOKEN_DOES_NOT_MATCH;
} }
YY_BREAK YY_BREAK
case 45: case 45:
YY_RULE_SETUP YY_RULE_SETUP
#line 201 "mlr_dsl_lexer.l" #line 201 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_EQ; return MD_TOKEN_EQ;
} }
YY_BREAK YY_BREAK
case 46: case 46:
YY_RULE_SETUP YY_RULE_SETUP
#line 205 "mlr_dsl_lexer.l" #line 205 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_NE; return MD_TOKEN_NE;
} }
YY_BREAK YY_BREAK
case 47: case 47:
YY_RULE_SETUP YY_RULE_SETUP
#line 210 "mlr_dsl_lexer.l" #line 210 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_GT; return MD_TOKEN_GT;
} }
YY_BREAK YY_BREAK
case 48: case 48:
YY_RULE_SETUP YY_RULE_SETUP
#line 214 "mlr_dsl_lexer.l" #line 214 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_GE; return MD_TOKEN_GE;
} }
YY_BREAK YY_BREAK
case 49: case 49:
YY_RULE_SETUP YY_RULE_SETUP
#line 218 "mlr_dsl_lexer.l" #line 218 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LT; return MD_TOKEN_LT;
} }
YY_BREAK YY_BREAK
case 50: case 50:
YY_RULE_SETUP YY_RULE_SETUP
#line 222 "mlr_dsl_lexer.l" #line 222 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LE; return MD_TOKEN_LE;
} }
YY_BREAK YY_BREAK
case 51: case 51:
YY_RULE_SETUP YY_RULE_SETUP
#line 227 "mlr_dsl_lexer.l" #line 227 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_OR; return MD_TOKEN_BITWISE_OR;
} }
YY_BREAK YY_BREAK
case 52: case 52:
YY_RULE_SETUP YY_RULE_SETUP
#line 231 "mlr_dsl_lexer.l" #line 231 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_OR_EQUALS; return MD_TOKEN_BITWISE_OR_EQUALS;
} }
YY_BREAK YY_BREAK
case 53: case 53:
YY_RULE_SETUP YY_RULE_SETUP
#line 236 "mlr_dsl_lexer.l" #line 236 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_XOR; return MD_TOKEN_BITWISE_XOR;
} }
YY_BREAK YY_BREAK
case 54: case 54:
YY_RULE_SETUP YY_RULE_SETUP
#line 240 "mlr_dsl_lexer.l" #line 240 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_XOR_EQUALS; return MD_TOKEN_BITWISE_XOR_EQUALS;
} }
YY_BREAK YY_BREAK
case 55: case 55:
YY_RULE_SETUP YY_RULE_SETUP
#line 245 "mlr_dsl_lexer.l" #line 245 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_AND; return MD_TOKEN_BITWISE_AND;
} }
YY_BREAK YY_BREAK
case 56: case 56:
YY_RULE_SETUP YY_RULE_SETUP
#line 249 "mlr_dsl_lexer.l" #line 249 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_AND_EQUALS; return MD_TOKEN_BITWISE_AND_EQUALS;
} }
YY_BREAK YY_BREAK
case 57: case 57:
YY_RULE_SETUP YY_RULE_SETUP
#line 254 "mlr_dsl_lexer.l" #line 254 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_LSH; return MD_TOKEN_BITWISE_LSH;
} }
YY_BREAK YY_BREAK
case 58: case 58:
YY_RULE_SETUP YY_RULE_SETUP
#line 258 "mlr_dsl_lexer.l" #line 258 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_LSH_EQUALS; return MD_TOKEN_BITWISE_LSH_EQUALS;
} }
YY_BREAK YY_BREAK
case 59: case 59:
YY_RULE_SETUP YY_RULE_SETUP
#line 262 "mlr_dsl_lexer.l" #line 262 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_RSH; return MD_TOKEN_BITWISE_RSH;
} }
YY_BREAK YY_BREAK
case 60: case 60:
YY_RULE_SETUP YY_RULE_SETUP
#line 266 "mlr_dsl_lexer.l" #line 266 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_RSH_EQUALS; return MD_TOKEN_BITWISE_RSH_EQUALS;
} }
YY_BREAK YY_BREAK
case 61: case 61:
YY_RULE_SETUP YY_RULE_SETUP
#line 271 "mlr_dsl_lexer.l" #line 271 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_PLUS; return MD_TOKEN_PLUS;
} }
YY_BREAK YY_BREAK
case 62: case 62:
YY_RULE_SETUP YY_RULE_SETUP
#line 275 "mlr_dsl_lexer.l" #line 275 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_PLUS_EQUALS; return MD_TOKEN_PLUS_EQUALS;
} }
YY_BREAK YY_BREAK
case 63: case 63:
YY_RULE_SETUP YY_RULE_SETUP
#line 279 "mlr_dsl_lexer.l" #line 279 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_MINUS; return MD_TOKEN_MINUS;
} }
YY_BREAK YY_BREAK
case 64: case 64:
YY_RULE_SETUP YY_RULE_SETUP
#line 283 "mlr_dsl_lexer.l" #line 283 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_MINUS_EQUALS; return MD_TOKEN_MINUS_EQUALS;
} }
YY_BREAK YY_BREAK
case 65: case 65:
YY_RULE_SETUP YY_RULE_SETUP
#line 287 "mlr_dsl_lexer.l" #line 287 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_DOT; return MD_TOKEN_DOT;
} }
YY_BREAK YY_BREAK
case 66: case 66:
YY_RULE_SETUP YY_RULE_SETUP
#line 291 "mlr_dsl_lexer.l" #line 291 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_DOT_EQUALS; return MD_TOKEN_DOT_EQUALS;
} }
YY_BREAK YY_BREAK
case 67: case 67:
YY_RULE_SETUP YY_RULE_SETUP
#line 295 "mlr_dsl_lexer.l" #line 295 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_TIMES; return MD_TOKEN_TIMES;
} }
YY_BREAK YY_BREAK
case 68: case 68:
YY_RULE_SETUP YY_RULE_SETUP
#line 299 "mlr_dsl_lexer.l" #line 299 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_TIMES_EQUALS; return MD_TOKEN_TIMES_EQUALS;
} }
YY_BREAK YY_BREAK
case 69: case 69:
YY_RULE_SETUP YY_RULE_SETUP
#line 303 "mlr_dsl_lexer.l" #line 303 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_DIVIDE; return MD_TOKEN_DIVIDE;
} }
YY_BREAK YY_BREAK
case 70: case 70:
YY_RULE_SETUP YY_RULE_SETUP
#line 307 "mlr_dsl_lexer.l" #line 307 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_DIVIDE_EQUALS; return MD_TOKEN_DIVIDE_EQUALS;
} }
YY_BREAK YY_BREAK
case 71: case 71:
YY_RULE_SETUP YY_RULE_SETUP
#line 311 "mlr_dsl_lexer.l" #line 311 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_INT_DIVIDE; return MD_TOKEN_INT_DIVIDE;
} }
YY_BREAK YY_BREAK
case 72: case 72:
YY_RULE_SETUP YY_RULE_SETUP
#line 315 "mlr_dsl_lexer.l" #line 315 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_INT_DIVIDE_EQUALS; return MD_TOKEN_INT_DIVIDE_EQUALS;
} }
YY_BREAK YY_BREAK
case 73: case 73:
YY_RULE_SETUP YY_RULE_SETUP
#line 320 "mlr_dsl_lexer.l" #line 320 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OPLUS; return MD_TOKEN_OPLUS;
} }
YY_BREAK YY_BREAK
case 74: case 74:
YY_RULE_SETUP YY_RULE_SETUP
#line 324 "mlr_dsl_lexer.l" #line 324 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OPLUS_EQUALS; return MD_TOKEN_OPLUS_EQUALS;
} }
YY_BREAK YY_BREAK
case 75: case 75:
YY_RULE_SETUP YY_RULE_SETUP
#line 328 "mlr_dsl_lexer.l" #line 328 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OMINUS; return MD_TOKEN_OMINUS;
} }
YY_BREAK YY_BREAK
case 76: case 76:
YY_RULE_SETUP YY_RULE_SETUP
#line 332 "mlr_dsl_lexer.l" #line 332 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OMINUS_EQUALS; return MD_TOKEN_OMINUS_EQUALS;
} }
YY_BREAK YY_BREAK
case 77: case 77:
YY_RULE_SETUP YY_RULE_SETUP
#line 336 "mlr_dsl_lexer.l" #line 336 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OTIMES; return MD_TOKEN_OTIMES;
} }
YY_BREAK YY_BREAK
case 78: case 78:
YY_RULE_SETUP YY_RULE_SETUP
#line 340 "mlr_dsl_lexer.l" #line 340 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_OTIMES_EQUALS; return MD_TOKEN_OTIMES_EQUALS;
} }
YY_BREAK YY_BREAK
case 79: case 79:
YY_RULE_SETUP YY_RULE_SETUP
#line 344 "mlr_dsl_lexer.l" #line 344 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_ODIVIDE; return MD_TOKEN_ODIVIDE;
} }
YY_BREAK YY_BREAK
case 80: case 80:
YY_RULE_SETUP YY_RULE_SETUP
#line 348 "mlr_dsl_lexer.l" #line 348 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_ODIVIDE_EQUALS; return MD_TOKEN_ODIVIDE_EQUALS;
} }
YY_BREAK YY_BREAK
case 81: case 81:
YY_RULE_SETUP YY_RULE_SETUP
#line 352 "mlr_dsl_lexer.l" #line 352 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_INT_ODIVIDE; return MD_TOKEN_INT_ODIVIDE;
} }
YY_BREAK YY_BREAK
case 82: case 82:
YY_RULE_SETUP YY_RULE_SETUP
#line 356 "mlr_dsl_lexer.l" #line 356 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_INT_ODIVIDE_EQUALS; return MD_TOKEN_INT_ODIVIDE_EQUALS;
} }
YY_BREAK YY_BREAK
case 83: case 83:
YY_RULE_SETUP YY_RULE_SETUP
#line 361 "mlr_dsl_lexer.l" #line 361 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_MOD; return MD_TOKEN_MOD;
} }
YY_BREAK YY_BREAK
case 84: case 84:
YY_RULE_SETUP YY_RULE_SETUP
#line 365 "mlr_dsl_lexer.l" #line 365 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_MOD_EQUALS; return MD_TOKEN_MOD_EQUALS;
} }
YY_BREAK YY_BREAK
case 85: case 85:
YY_RULE_SETUP YY_RULE_SETUP
#line 370 "mlr_dsl_lexer.l" #line 370 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_LOGICAL_NOT; return MD_TOKEN_LOGICAL_NOT;
} }
YY_BREAK YY_BREAK
case 86: case 86:
YY_RULE_SETUP YY_RULE_SETUP
#line 375 "mlr_dsl_lexer.l" #line 375 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_BITWISE_NOT; return MD_TOKEN_BITWISE_NOT;
} }
YY_BREAK YY_BREAK
case 87: case 87:
YY_RULE_SETUP YY_RULE_SETUP
#line 380 "mlr_dsl_lexer.l" #line 380 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_POW; return MD_TOKEN_POW;
} }
YY_BREAK YY_BREAK
case 88: case 88:
YY_RULE_SETUP YY_RULE_SETUP
#line 384 "mlr_dsl_lexer.l" #line 384 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_OPERATOR);
return MD_TOKEN_POW_EQUALS; return MD_TOKEN_POW_EQUALS;
} }
YY_BREAK YY_BREAK
case 89: case 89:
YY_RULE_SETUP YY_RULE_SETUP
#line 389 "mlr_dsl_lexer.l" #line 389 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FULL_SREC); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FULL_SREC);
return MD_TOKEN_FULL_SREC; return MD_TOKEN_FULL_SREC;
} }
YY_BREAK YY_BREAK
case 90: case 90:
YY_RULE_SETUP YY_RULE_SETUP
#line 393 "mlr_dsl_lexer.l" #line 393 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_DOLLAR_SIGN; return MD_TOKEN_DOLLAR_SIGN;
} }
YY_BREAK YY_BREAK
case 91: case 91:
YY_RULE_SETUP YY_RULE_SETUP
#line 398 "mlr_dsl_lexer.l" #line 398 "./mlr_dsl_lexer.l"
{ {
// Note: the parser depends on the dollar sign being here. If this is cha nged, // Note: the parser depends on the dollar sign being here. If this is cha nged,
// that needs to be changed as well. // that needs to be changed as well.
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FIELD_NAME); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FIELD_NAME);
return MD_TOKEN_FIELD_NAME; return MD_TOKEN_FIELD_NAME;
} }
YY_BREAK YY_BREAK
case 92: case 92:
/* rule 92 can match eol */ /* rule 92 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 404 "mlr_dsl_lexer.l" #line 404 "./mlr_dsl_lexer.l"
{ {
// Note: the parser depends on the dollar sign being here. If this is cha nged, // Note: the parser depends on the dollar sign being here. If this is cha nged,
// that needs to be changed as well. // that needs to be changed as well.
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FIELD_NAME); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FIELD_NAME);
return MD_TOKEN_BRACED_FIELD_NAME; return MD_TOKEN_BRACED_FIELD_NAME;
} }
YY_BREAK YY_BREAK
case 93: case 93:
YY_RULE_SETUP YY_RULE_SETUP
#line 411 "mlr_dsl_lexer.l" #line 411 "./mlr_dsl_lexer.l"
{ {
// Note: the parser depends on the at-sign being here. If this is changed , // Note: the parser depends on the at-sign being here. If this is changed ,
// that needs to be changed as well. // that needs to be changed as well.
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL ); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL );
return MD_TOKEN_UNBRACED_OOSVAR_NAME; return MD_TOKEN_UNBRACED_OOSVAR_NAME;
} }
YY_BREAK YY_BREAK
case 94: case 94:
/* rule 94 can match eol */ /* rule 94 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 417 "mlr_dsl_lexer.l" #line 417 "./mlr_dsl_lexer.l"
{ {
// Note: the parser depends on the percent-sign being here. If this is ch anged, // Note: the parser depends on the percent-sign being here. If this is ch anged,
// that needs to be changed as well. // that needs to be changed as well.
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL ); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL );
return MD_TOKEN_BRACED_OOSVAR_NAME; return MD_TOKEN_BRACED_OOSVAR_NAME;
} }
YY_BREAK YY_BREAK
case 95: case 95:
YY_RULE_SETUP YY_RULE_SETUP
#line 423 "mlr_dsl_lexer.l" #line 423 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_AT_SIGN; return MD_TOKEN_AT_SIGN;
} }
YY_BREAK YY_BREAK
case 96: case 96:
YY_RULE_SETUP YY_RULE_SETUP
#line 427 "mlr_dsl_lexer.l" #line 427 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FULL_OOSVAR); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FULL_OOSVAR);
return MD_TOKEN_FULL_OOSVAR; return MD_TOKEN_FULL_OOSVAR;
} }
YY_BREAK YY_BREAK
case 97: case 97:
YY_RULE_SETUP YY_RULE_SETUP
#line 432 "mlr_dsl_lexer.l" #line 432 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_LEFT_BRACKET; return MD_TOKEN_LEFT_BRACKET;
} }
YY_BREAK YY_BREAK
case 98: case 98:
YY_RULE_SETUP YY_RULE_SETUP
#line 436 "mlr_dsl_lexer.l" #line 436 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_RIGHT_BRACKET; return MD_TOKEN_RIGHT_BRACKET;
} }
YY_BREAK YY_BREAK
case 99: case 99:
YY_RULE_SETUP YY_RULE_SETUP
#line 441 "mlr_dsl_lexer.l" #line 441 "./mlr_dsl_lexer.l"
{ {
// Leading minus sign is handled via the unary-minus operator, not here. // Leading minus sign is handled via the unary-minus operator, not here.
// 123 // 123
// 123. 123.4 // 123. 123.4
// .234 // .234
// 1e2 // 1e2
// 1e-2 // 1e-2
// 1.2e3 1.e3 // 1.2e3 1.e3
// 1.2e-3 1.e-3 // 1.2e-3 1.e-3
// .2e3 // .2e3
// .2e-3 1.e-3 // .2e-3 1.e-3
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LITERA L); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LITERA L);
return MD_TOKEN_NUMBER; return MD_TOKEN_NUMBER;
} }
YY_BREAK YY_BREAK
case 100: case 100:
YY_RULE_SETUP YY_RULE_SETUP
#line 455 "mlr_dsl_lexer.l" #line 455 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LITERA L); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LITERA L);
return MD_TOKEN_NUMBER; return MD_TOKEN_NUMBER;
} }
YY_BREAK YY_BREAK
case 101: case 101:
/* rule 101 can match eol */ /* rule 101 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 460 "mlr_dsl_lexer.l" #line 460 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL ); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LITERAL );
return MD_TOKEN_STRING; return MD_TOKEN_STRING;
} }
YY_BREAK YY_BREAK
case 102: case 102:
/* rule 102 can match eol */ /* rule 102 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 465 "mlr_dsl_lexer.l" #line 465 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_REGEXI); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_REGEXI);
return MD_TOKEN_REGEXI; return MD_TOKEN_REGEXI;
} }
YY_BREAK YY_BREAK
case 103: case 103:
YY_RULE_SETUP YY_RULE_SETUP
#line 470 "mlr_dsl_lexer.l" #line 470 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_MAP; return MD_TOKEN_MAP;
} }
YY_BREAK YY_BREAK
case 104: case 104:
YY_RULE_SETUP YY_RULE_SETUP
#line 474 "mlr_dsl_lexer.l" #line 474 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_VAR; return MD_TOKEN_VAR;
} }
YY_BREAK YY_BREAK
case 105: case 105:
YY_RULE_SETUP YY_RULE_SETUP
#line 478 "mlr_dsl_lexer.l" #line 478 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LOCAL_ DEFINITION); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NUMERIC_LOCAL_ DEFINITION);
return MD_TOKEN_NUMERIC; return MD_TOKEN_NUMERIC;
} }
YY_BREAK YY_BREAK
case 106: case 106:
YY_RULE_SETUP YY_RULE_SETUP
#line 482 "mlr_dsl_lexer.l" #line 482 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_INT_LOCAL_DEFI NITION); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_INT_LOCAL_DEFI NITION);
return MD_TOKEN_INT; return MD_TOKEN_INT;
} }
YY_BREAK YY_BREAK
case 107: case 107:
YY_RULE_SETUP YY_RULE_SETUP
#line 486 "mlr_dsl_lexer.l" #line 486 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FLOAT_LOCAL_DE FINITION); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_FLOAT_LOCAL_DE FINITION);
return MD_TOKEN_FLOAT; return MD_TOKEN_FLOAT;
} }
YY_BREAK YY_BREAK
case 108: case 108:
YY_RULE_SETUP YY_RULE_SETUP
#line 490 "mlr_dsl_lexer.l" #line 490 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LOCAL_ DEFINITION); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LOCAL_ DEFINITION);
return MD_TOKEN_BOOLEAN; return MD_TOKEN_BOOLEAN;
} }
YY_BREAK YY_BREAK
case 109: case 109:
YY_RULE_SETUP YY_RULE_SETUP
#line 494 "mlr_dsl_lexer.l" #line 494 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LOCAL_D EFINITION); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRING_LOCAL_D EFINITION);
return MD_TOKEN_STRING; return MD_TOKEN_STRING;
} }
YY_BREAK YY_BREAK
case 110: case 110:
YY_RULE_SETUP YY_RULE_SETUP
#line 499 "mlr_dsl_lexer.l" #line 499 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LITERA L); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LITERA L);
return MD_TOKEN_TRUE; return MD_TOKEN_TRUE;
} }
YY_BREAK YY_BREAK
case 111: case 111:
YY_RULE_SETUP YY_RULE_SETUP
#line 503 "mlr_dsl_lexer.l" #line 503 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LITERA L); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_BOOLEAN_LITERA L);
return MD_TOKEN_FALSE; return MD_TOKEN_FALSE;
} }
YY_BREAK YY_BREAK
case 112: case 112:
YY_RULE_SETUP YY_RULE_SETUP
#line 508 "mlr_dsl_lexer.l" #line 508 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 113: case 113:
YY_RULE_SETUP YY_RULE_SETUP
#line 512 "mlr_dsl_lexer.l" #line 512 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 114: case 114:
YY_RULE_SETUP YY_RULE_SETUP
#line 516 "mlr_dsl_lexer.l" #line 516 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 115: case 115:
YY_RULE_SETUP YY_RULE_SETUP
#line 520 "mlr_dsl_lexer.l" #line 520 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 116: case 116:
YY_RULE_SETUP YY_RULE_SETUP
#line 524 "mlr_dsl_lexer.l" #line 524 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 117: case 117:
YY_RULE_SETUP YY_RULE_SETUP
#line 528 "mlr_dsl_lexer.l" #line 528 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 118: case 118:
YY_RULE_SETUP YY_RULE_SETUP
#line 533 "mlr_dsl_lexer.l" #line 533 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 119: case 119:
YY_RULE_SETUP YY_RULE_SETUP
#line 537 "mlr_dsl_lexer.l" #line 537 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 120: case 120:
YY_RULE_SETUP YY_RULE_SETUP
#line 541 "mlr_dsl_lexer.l" #line 541 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 121: case 121:
YY_RULE_SETUP YY_RULE_SETUP
#line 545 "mlr_dsl_lexer.l" #line 545 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 122: case 122:
YY_RULE_SETUP YY_RULE_SETUP
#line 549 "mlr_dsl_lexer.l" #line 549 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 123: case 123:
YY_RULE_SETUP YY_RULE_SETUP
#line 553 "mlr_dsl_lexer.l" #line 553 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 124: case 124:
YY_RULE_SETUP YY_RULE_SETUP
#line 557 "mlr_dsl_lexer.l" #line 557 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_CONTEXT_VARIAB LE);
return MD_TOKEN_CONTEXT_VARIABLE; return MD_TOKEN_CONTEXT_VARIABLE;
} }
YY_BREAK YY_BREAK
case 125: case 125:
YY_RULE_SETUP YY_RULE_SETUP
#line 561 "mlr_dsl_lexer.l" #line 561 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_ENV); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_ENV);
return MD_TOKEN_ENV; return MD_TOKEN_ENV;
} }
YY_BREAK YY_BREAK
case 126: case 126:
YY_RULE_SETUP YY_RULE_SETUP
#line 566 "mlr_dsl_lexer.l" #line 566 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NON_SIGIL_NAME ); *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_NON_SIGIL_NAME );
return MD_TOKEN_NON_SIGIL_NAME; return MD_TOKEN_NON_SIGIL_NAME;
} }
YY_BREAK YY_BREAK
case 127: case 127:
YY_RULE_SETUP YY_RULE_SETUP
#line 571 "mlr_dsl_lexer.l" #line 571 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_LPAREN; return MD_TOKEN_LPAREN;
} }
YY_BREAK YY_BREAK
case 128: case 128:
YY_RULE_SETUP YY_RULE_SETUP
#line 575 "mlr_dsl_lexer.l" #line 575 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_RPAREN; return MD_TOKEN_RPAREN;
} }
YY_BREAK YY_BREAK
case 129: case 129:
YY_RULE_SETUP YY_RULE_SETUP
#line 580 "mlr_dsl_lexer.l" #line 580 "./mlr_dsl_lexer.l"
{ {
*yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ; *yyextra = mlr_dsl_ast_node_alloc(yytext, MD_AST_NODE_TYPE_STRIPPED_AWAY) ;
return MD_TOKEN_COMMA; return MD_TOKEN_COMMA;
} }
YY_BREAK YY_BREAK
case 130: case 130:
/* rule 130 can match eol */ /* rule 130 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 585 "mlr_dsl_lexer.l" #line 585 "./mlr_dsl_lexer.l"
{ } { }
YY_BREAK YY_BREAK
case 131: case 131:
/* rule 131 can match eol */ /* rule 131 can match eol */
YY_RULE_SETUP YY_RULE_SETUP
#line 587 "mlr_dsl_lexer.l" #line 587 "./mlr_dsl_lexer.l"
{ } { }
YY_BREAK YY_BREAK
case 132: case 132:
YY_RULE_SETUP YY_RULE_SETUP
#line 589 "mlr_dsl_lexer.l" #line 589 "./mlr_dsl_lexer.l"
{ {
return -1; return -1;
} }
YY_BREAK YY_BREAK
case 133: case 133:
YY_RULE_SETUP YY_RULE_SETUP
#line 592 "mlr_dsl_lexer.l" #line 592 "./mlr_dsl_lexer.l"
ECHO; ECHO;
YY_BREAK YY_BREAK
#line 2239 "mlr_dsl_lexer.c" #line 2239 "mlr_dsl_lexer.c"
case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(INITIAL):
yyterminate(); yyterminate();
case YY_END_OF_BUFFER: case YY_END_OF_BUFFER:
{ {
/* Amount of text matched not including the EOB char. */ /* Amount of text matched not including the EOB char. */
int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1; int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
skipping to change at line 3406 skipping to change at line 3406
void yyfree (void * ptr , yyscan_t yyscanner) void yyfree (void * ptr , yyscan_t yyscanner)
{ {
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg; (void)yyg;
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
} }
#define YYTABLES_NAME "yytables" #define YYTABLES_NAME "yytables"
#line 592 "mlr_dsl_lexer.l" #line 592 "./mlr_dsl_lexer.l"
 End of changes. 136 change blocks. 
136 lines changed or deleted 136 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)