How should I build a cpp project with yacc rules? #5101
-
Repo: https://github.com/Siudya/cppSaif I ran
I try to figure out why so I ran
It seems xmake defaultly bison the yacc file to a C file, while it should be a C++ file. I manually ran
Forcefully treating c file as cpp file can workaround it. Is there a technique to address this? |
Beta Was this translation helpful? Give feedback.
Answered by
star-hengxing
May 14, 2024
Replies: 1 comment
-
xmake/xmake/rules/lex_yacc/yacc/xmake.lua Lines 40 to 41 in f446bd8 Rename |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Siudya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xmake/xmake/rules/lex_yacc/yacc/xmake.lua
Lines 40 to 41 in f446bd8
Rename
.y
->.yy