/dports/devel/blame/blame-1.3.1/src/ |
H A D | lexer.l | 55 head { yylloc.off = yylloc.next; yylloc.next += 4; return HEAD; } 56 branch { yylloc.off = yylloc.next; yylloc.next += 6; return BRANCH; } 57 access { yylloc.off = yylloc.next; yylloc.next += 6; return ACCESS; } 59 locks { yylloc.off = yylloc.next; yylloc.next += 5; return LOCKS; } 60 strict { yylloc.off = yylloc.next; yylloc.next += 6; return STRICT; } 63 date { yylloc.off = yylloc.next; yylloc.next += 4; return DATE; } 65 state { yylloc.off = yylloc.next; yylloc.next += 5; return STATE; } 67 next { yylloc.off = yylloc.next; yylloc.next += 4; return NEXT; } 68 desc { yylloc.off = yylloc.next; yylloc.next += 4; return DESC; } 69 log { yylloc.off = yylloc.next; yylloc.next += 3; return LOG; } [all …]
|
H A D | lexer.c | 3645 { yylloc.off = yylloc.next; yylloc.next += 4; return HEAD; } 3650 { yylloc.off = yylloc.next; yylloc.next += 6; return BRANCH; } 3655 { yylloc.off = yylloc.next; yylloc.next += 6; return ACCESS; } 3665 { yylloc.off = yylloc.next; yylloc.next += 5; return LOCKS; } 3670 { yylloc.off = yylloc.next; yylloc.next += 6; return STRICT; } 3685 { yylloc.off = yylloc.next; yylloc.next += 4; return DATE; } 3695 { yylloc.off = yylloc.next; yylloc.next += 5; return STATE; } 3705 { yylloc.off = yylloc.next; yylloc.next += 4; return NEXT; } 3710 { yylloc.off = yylloc.next; yylloc.next += 4; return DESC; } 3715 { yylloc.off = yylloc.next; yylloc.next += 3; return LOG; } [all …]
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/parse/ |
H A D | thriftl.ll | 61 #define YY_USER_ACTION driver.compute_location(*yylloc, *yylval, yytext); 95 return apache::thrift::compiler::yy::parser::make_tok_char_bracket_curly_l(*yylloc); 98 return apache::thrift::compiler::yy::parser::make_tok_char_bracket_curly_r(*yylloc); 104 return apache::thrift::compiler::yy::parser::make_tok_char_comma(*yylloc); 106 return apache::thrift::compiler::yy::parser::make_tok_char_semicolon(*yylloc); 112 return apache::thrift::compiler::yy::parser::make_tok_char_equal(*yylloc); 118 return apache::thrift::compiler::yy::parser::make_tok_char_colon(*yylloc); 128 return apache::thrift::compiler::yy::parser::make_tok_char_at_sign(*yylloc); 185 return apache::thrift::compiler::yy::parser::make_tok_int_constant(val, *yylloc); 194 return apache::thrift::compiler::yy::parser::make_tok_int_constant(val, *yylloc); [all …]
|
/dports/cad/iverilog/verilog-11.0/ |
H A D | lexor.lex | 684 yylloc.text, yylloc.first_line, word); 691 yylloc.text, yylloc.first_line, yytext); 701 yylloc.text, yylloc.first_line); 744 cerr << yylloc.text << ":" << yylloc.first_line 762 cerr << yylloc.text << ":" << yylloc.first_line << 768 cerr << yylloc.text << ":" << yylloc.first_line << 774 cerr << yylloc.text << ":" << yylloc.first_line << 780 cerr << yylloc.text << ":" << yylloc.first_line << 786 cerr << yylloc.text << ":" << yylloc.first_line << 792 cerr << yylloc.text << ":" << yylloc.first_line << [all …]
|
/dports/net/freediameter/freeDiameter-1.5.0/libfdcore/ |
H A D | fdd.y | 201 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 209 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 217 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 225 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 233 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 241 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 628 yyerror (&yylloc, conf, "Error on file name"); 636 yyerror (&yylloc, conf, "Error on file name"); 659 yyerror (&yylloc, conf, "Error on file name"); 699 yyerror (&yylloc, conf, "Error on file name"); [all …]
|
H A D | fdd.l | 52 yylloc->first_column = yylloc->last_column + 1; \ 53 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 56 yylloc->first_line, yylloc->first_column, \ 57 yylloc->last_line, yylloc->last_column, \ 62 yylloc->first_column = yylloc->last_column + 1; \ 63 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 104 yylloc->first_line++; 105 yylloc->last_line++; 106 yylloc->last_column=0; 291 …TRACE_ERROR("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column…
|
/dports/devel/libgraphqlparser/libgraphqlparser-0.7.0/ |
H A D | lexer.lpp | 59 *yylloc = yyextra->loc; 136 "!" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_BANG; } 137 "(" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_LPAREN; } 138 ")" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_RPAREN; } 140 ":" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_COLON; } 141 "=" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_EQUAL; } 142 "@" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_AT; } 145 "{" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_LBRACE; } 146 "|" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_PIPE; } 147 "}" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_RBRACE; } [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/ast/src/cpp/parse/ |
H A D | printerror.cpp | 32 if (yylloc.first_line == yylloc.last_line in PrintError() 33 && yylloc.first_column == 1 in PrintError() 34 && yylloc.last_column == 1) in PrintError() 36 --yylloc.first_line; in PrintError() 40 ConfigVariable::fillWhereError(yylloc.first_line); in PrintError() 43 wchar_t* str = to_wide_string(ParserSingleInstance::getCodeLine(yylloc.first_line, &codeLine)); in PrintError() 55 for (i = 1 ; i < yylloc.first_column ; ++i) in PrintError() 60 for (i = i + 1 ; i < yylloc.last_column ; ++i) in PrintError() 64 if ( yylloc.first_column != yylloc.last_column ) in PrintError()
|
/dports/graphics/tikzit/tikzit-2.1.6/src/data/ |
H A D | tikzlexer.l | 35 yylloc->first_line = yylloc->last_line; \ 36 yylloc->first_column = yylloc->last_column + 1; \ 37 yylloc->last_column = yylloc->first_column + yyleng - 1; 64 yylloc->first_line += 1; 65 yylloc->last_line = yylloc->first_line; 66 yylloc->first_column = yylloc->last_column = 0; 88 yylloc->last_column = yylloc->first_column + 1; 161 yylloc->last_column += 1; 173 yylloc->last_line += 1; 174 yylloc->last_column = 0;
|
/dports/devel/urjtag/urjtag-2021.03/src/svf/ |
H A D | svf_flex.l | 66 yylloc->first_line = yylloc->last_line = yylloc->first_column = yylloc->last_column = 1; \ 95 fix_yylloc(yylloc, yytext, yyleng); 188 fix_yylloc(yylloc, yytext, yyleng); 194 fix_yylloc(yylloc, yytext, yyleng); 199 fix_yylloc(yylloc, yytext, yyleng); 207 fix_yylloc(yylloc, yytext, yyleng); 213 fix_yylloc(yylloc, yytext, yyleng); 221 yylloc->first_line = yylloc->last_line; 222 yylloc->first_column = yylloc->last_column; 223 ++yylloc->last_line; [all …]
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/ |
H A D | cfg-tree.h | 136 CFG_LTYPE *yylloc); 141 LogExprNode *log_expr_node_new_pipe(LogPipe *pipe, CFG_LTYPE *yylloc); 143 LogExprNode *log_expr_node_new_source_reference(const gchar *name, CFG_LTYPE *yylloc); 145 LogExprNode *log_expr_node_new_destination_reference(const gchar *name, CFG_LTYPE *yylloc); 147 LogExprNode *log_expr_node_new_filter_reference(const gchar *name, CFG_LTYPE *yylloc); 149 LogExprNode *log_expr_node_new_parser_reference(const gchar *name, CFG_LTYPE *yylloc); 151 LogExprNode *log_expr_node_new_rewrite_reference(const gchar *name, CFG_LTYPE *yylloc); 152 LogExprNode *log_expr_node_new_log(LogExprNode *children, guint32 flags, CFG_LTYPE *yylloc); 153 LogExprNode *log_expr_node_new_sequence(LogExprNode *children, CFG_LTYPE *yylloc); 154 LogExprNode *log_expr_node_new_junction(LogExprNode *children, CFG_LTYPE *yylloc); [all …]
|
H A D | cfg-parser.c | 245 gint error_length = yylloc->last_line - yylloc->first_line + 1; in _print_underlined_source_block() 264 gboolean multi_line = yylloc->first_line != yylloc->last_line; in _print_underlined_source_block() 266 _print_underline(line, yylloc->first_column - 1, in _print_underlined_source_block() 268 : yylloc->last_column - yylloc->first_column); in _print_underlined_source_block() 291 if (lineno > (gint) yylloc->first_line + CONTEXT) in _report_file_location() 295 else if (lineno == yylloc->first_line) in _report_file_location() 300 if (lineno <= yylloc->first_line) in _report_file_location() 319 if (num_lines <= yylloc->first_line) in _report_buffer_location() 322 gint start = yylloc->first_line - 1 - CONTEXT; in _report_buffer_location() 339 CfgIncludeLevel *level = yylloc->level, *from; in report_syntax_error() [all …]
|
/dports/devel/bison/bison-3.7.6/examples/c/lexcalc/ |
H A D | scan.l | 34 yylloc->last_column += (int) yyleng; 39 yylloc->first_line = yylloc->last_line; \ 40 yylloc->first_column = yylloc->last_column; \ 64 yyerror (yylloc, nerrs, "integer is out of range"); 69 "\n" yylloc->last_line++; yylloc->last_column = 1; return TOK_EOL; 74 . yyerror (yylloc, nerrs, "syntax error, invalid character"); continue;
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/dbg_loglevel/ |
H A D | dbg_loglevel_conf.l | 49 yylloc->first_column = yylloc->last_column + 1; \ 50 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 69 yylloc->first_line++; 70 yylloc->last_line++; 71 yylloc->last_column=0; 103 …TRACE_ERROR("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/dict_legacy_xml/ |
H A D | dict_lxml.l | 47 yylloc->first_column = yylloc->last_column + 1; \ 48 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 67 yylloc->first_line++; 68 yylloc->last_line++; 69 yylloc->last_column=0; 94 …fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_colum…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/rt_deny_by_size/ |
H A D | rt_deny_by_size_conf.l | 49 yylloc->first_column = yylloc->last_column + 1; \ 50 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 69 yylloc->first_line++; 70 yylloc->last_line++; 71 yylloc->last_column=0; 103 …TRACE_ERROR("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/acl_wl/ |
H A D | aw_conf.l | 49 yylloc->first_column = yylloc->last_column + 1; \ 50 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 68 yylloc->first_line++; 69 yylloc->last_line++; 70 yylloc->last_column=0; 99 …TRACE_ERROR("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/app_radgw/ |
H A D | rgwx_echodrop.l | 44 yylloc->first_column = yylloc->last_column + 1; \ 45 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 60 yylloc->first_line++; 61 yylloc->last_line++; 62 yylloc->last_column=0; 95 …("[echodrop.rgwx] Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_c…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/rt_busypeers/ |
H A D | rtbusy_conf.l | 46 yylloc->first_column = yylloc->last_column + 1; \ 47 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 66 yylloc->first_line++; 67 yylloc->last_line++; 68 yylloc->last_column=0; 103 …TRACE_ERROR("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/rt_rewrite/ |
H A D | rt_rewrite_conf.l | 43 yylloc->first_column = yylloc->last_column + 1; \ 44 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 63 yylloc->first_line++; 64 yylloc->last_line++; 65 yylloc->last_column=0; 96 …fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_colum…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/app_diameap/plugins/eap_tls/ |
H A D | eaptls.l | 46 yylloc->first_line = yylloc->last_line = yylineno; \ 47 yylloc->first_column = yylloc->last_column + 1; \ 48 yylloc->last_column += yyleng +1; \ 63 yylloc->last_column=0; 71 yylloc->last_column=0; 112 …recognized input text '%s'( on line %i column %i )\n", yytext, yylloc->first_line, yylloc->first_c…
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/app_diameap/ |
H A D | diameap.l | 47 yylloc->first_line = yylloc->last_line = yylineno; \ 48 yylloc->first_column = yylloc->last_column + 1; \ 49 yylloc->last_column += yyleng +1; \ 67 yylloc->last_column=0; 73 yylloc->last_column=0; 121 …recognized input text '%s'( on line %i column %i )\n", yytext, yylloc->first_line, yylloc->first_c…
|
/dports/textproc/augeas/augeas-1.12.0/src/ |
H A D | lexer.l | 37 yylloc->last_column += yyleng; \ 42 #define YY_USER_INIT LOCATION_STEP(*yylloc) 50 static void loc_update(YYLTYPE *yylloc, const char *s, int len) { in loc_update() argument 53 LOCATION_LINES(*yylloc, 1); in loc_update() 84 [ \t]* LOCATION_STEP(*yylloc); 85 \n+ LOCATION_LINES(*yylloc, yyleng); LOCATION_STEP(*yylloc); 86 (\r\n)+ LOCATION_LINES(*yylloc, yyleng/2); LOCATION_STEP(*yylloc); 92 loc_update(yylloc, yytext, yyleng); 98 loc_update(yylloc, yytext, yyleng); 105 loc_update(yylloc, yytext, yyleng); [all …]
|
/dports/devel/py-tartiflette/tartiflette-1.4.1/libgraphqlparser/ |
H A D | lexer.lpp | 64 *yylloc = yyextra->loc; 126 *yylloc = yyextra->loc; 169 "!" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_BANG; } 170 "(" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_LPAREN; } 171 ")" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_RPAREN; } 173 ":" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_COLON; } 174 "=" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_EQUAL; } 175 "@" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_AT; } 178 "{" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_LBRACE; } 179 "|" { *yylloc = yyextra->loc; return yy::GraphQLParserImpl::token::TOK_PIPE; } [all …]
|
/dports/net/freediameter/freeDiameter-1.5.0/extensions/rt_ereg/ |
H A D | rtereg_conf.l | 47 yylloc->first_column = yylloc->last_column + 1; \ 48 yylloc->last_column = yylloc->first_column + yyleng - 1; \ 67 yylloc->first_line++; 68 yylloc->last_line++; 69 yylloc->last_column=0; 115 …fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_colum…
|