Unexpected error when using Rstan

Hi all,

Today when I tried to rerun some previously run-able Stan code on my computer, the following error message poped up:

Error in stanc(file = file, model_code = model_code, model_name = model_name,  : 
  parser failed badly

May I ask what is the cause of this error? The code has been tested before and it should not have problems.

This can happen when there is a # in the stan code, are you able to share the model that gives this error? Then I’ll patch it in rstan