r100809 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r100808
|
r100809
|
r100810
>
Date:
14:48, 26 October 2011
Author:
platonides
Status:
ok
Tags:
Comment:
We are using flex, not lex.
With this invocation it is no longer needed to hide warnings about yy_flex_strlen or find_rule
Modified paths:
/trunk/tools/justMessages/Makefile
(modified) (
history
)
/trunk/tools/justMessages/justMessages.l
(modified) (
history
)
Diff
[
purge
]
Index: trunk/tools/justMessages/justMessages.l
—
—
@@ -226,8 +226,11 @@
227
227
return 1;
228
228
}
229
229
230
+#ifdef YY_NEED_STRLEN
230
231
/* Shut up warning about yy_flex_strlen being unused */
231
232
int dummy() {
232
233
return yy_flex_strlen("");
233
234
}
235
+#endif
234
236
237
+
Index: trunk/tools/justMessages/Makefile
—
—
@@ -1,5 +1,5 @@
2
2
CC=gcc
3
-LEX=lex
3
+LEX=flex
4
4
CFLAGS=-Wall -O3 -fwhole-program
5
5
6
6
justMessages: justMessages.c
Follow-up revisions
Revision
Commit summary
Author
Date
r100810
Actually remove find_rule (
r100809
follow-up)
platonides
14:49, 26 October 2011
Status & tagging log
15:11, 16 December 2011
😂
(
talk
|
contribs
)
changed the
status
of r100809
[
removed:
new
added:
ok]