flex-bison-cpp-example
flex-bison-cpp-example copied to clipboard
fix yyloc in recent bison versions
Simple fix that makes it work with recent versions of bison which (after regenerating the shipped parser.cc file, ofcourse) somehow don't expose the old 'yyloc' anymore.
Anyway, thanks for this project. It's a lifesaver in situations when you think that decent c++ parser doesn't take much time to write.
+1 for this fix. For someone new to this, this saved me tons of research time!
+1 Thanks 😄 @exaexa