analyze_syntax function

analyze_syntax