depot/third_party/nixpkgs/pkgs/development/tools/cdecl/cdecl-2.5-lex.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
315 B
Diff

diff --git a/Makefile b/Makefile
index 1643b74..8f1ae11 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ c++decl: cdgram.c cdlex.c cdecl.c
rm -f cdecl
cdlex.c: cdlex.l
- lex cdlex.l && mv lex.yy.c cdlex.c
+ flex cdlex.l && mv lex.yy.c cdlex.c
cdgram.c: cdgram.y
yacc cdgram.y && mv y.tab.c cdgram.c