Gitweb:
http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=4effdd8e3d94bbd49cd50f1ff21b41b03cd10e1b
Commit: 4effdd8e3d94bbd49cd50f1ff21b41b03cd10e1b
Parent: 183f3a219cff65c6fbd5a33ac2704ca7c498b589
Author: David Lutterkort <[email protected]>
AuthorDate: Wed Nov 25 16:43:57 2009 -0800
Committer: David Lutterkort <[email protected]>
CommitterDate: Wed Nov 25 16:43:57 2009 -0800
* src/lexer.l: include errcode.h; fix bad use of report_error
---
src/lexer.l | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/lexer.l b/src/lexer.l
index a690f07..607d82a 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -13,6 +13,7 @@
%{
#include "syntax.h"
+#include "errcode.h"
typedef struct info YYLTYPE;
#define YYLTYPE_IS_DECLARED 1
@@ -163,7 +164,7 @@ ARROW ->
report_error(augl_get_extra(yyscanner)->error, AUG_ESYNTAX,
"%s:%d:%d: Missing *)",
augl_get_extra(yyscanner)->filename->str,
- yylineno, yylloc->first_column, yytext[0]);
+ yylineno, yylloc->first_column);
yyterminate();
}
}
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel