Skip to content

Trouble shooting

Jiayin Cao edited this page Jan 18, 2021 · 2 revisions

Native Bison on Mac is outdated

Install a newer version of bison using homebrew

  • brew install bison

Set the environment path so that by default it won't use the older version comes with MacOS.

  • vi ~/.bash_profile
  • Add the new path of Bison at the beginning of the system path by adding this line, export PATH=~/usr/local/opt/bison/bin/:$PATH

Visual Studio Code doesn't find the correct bison version on Mac

Refer to this page for the solution, https://code.visualstudio.com/docs/setup/mac

Clone this wiki locally