projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0747827
)
parser.y: mark text as const
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 13:37:40 +0000
(14:37 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 13:37:40 +0000
(14:37 +0100)
src/liboconfig/parser.y
patch
|
blob
|
history
diff --git
a/src/liboconfig/parser.y
b/src/liboconfig/parser.y
index
f0e886c
..
803eec2
100644
(file)
--- a/
src/liboconfig/parser.y
+++ b/
src/liboconfig/parser.y
@@
-225,7
+225,7
@@
entire_file:
%%
static int yyerror (const char *s)
{
- char *text;
+ c
onst c
har *text;
if (*yytext == '\n')
text = "<newline>";