Changeset 974:2091bf698fb1 in freeDiameter for extensions/test_netemul/test_netemul.l
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/test_netemul/test_netemul.l
r740 r974 78 78 if (ret != 1) { 79 79 /* No matching: an error occurred */ 80 fd_log_debug("Unable to convert the value '%s' to a valid float: %s \n", yytext, strerror(errno));80 fd_log_debug("Unable to convert the value '%s' to a valid float: %s", yytext, strerror(errno)); 81 81 return LEX_ERROR; /* trig an error in yacc parser */ 82 82 /* Maybe we could REJECT instead of failing here? */ … … 92 92 if (ret != 1) { 93 93 /* No matching: an error occurred */ 94 fd_log_debug("Unable to convert the value '%s' to a valid long: %s \n", yytext, strerror(errno));94 fd_log_debug("Unable to convert the value '%s' to a valid long: %s", yytext, strerror(errno)); 95 95 return LEX_ERROR; /* trig an error in yacc parser */ 96 96 /* Maybe we could REJECT instead of failing here? */ … … 113 113 /* Unrecognized sequence, if it did not match any previous pattern */ 114 114 [^[:space:][:digit:]=;%/\n]+ { 115 fd_log_debug("Unrecognized text on line %d col %d: '%s'. \n", yylloc->first_line, yylloc->first_column, yytext);115 fd_log_debug("Unrecognized text on line %d col %d: '%s'.", yylloc->first_line, yylloc->first_column, yytext); 116 116 return LEX_ERROR; 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.