Recursive descent parser: Difference between revisions

Content deleted Content added
mNo edit summary
add missing read_ch('(') in second if of parse_E()
Line 13:
'''begin'''
'''if''' ''ch'' = 'N' '''then''' read_ch('N'); read_ch('O'); read_ch('T'); parse_E(); '''end-if''';
'''if''' ''ch'' = '(' '''then''' read_ch('('); parse_E(); parse_F(); read_ch(')'); '''end-if''';
'''if''' ''ch'' = 'T' '''then''' read_ch('T'); read_ch('R'); read_ch('U'); read_ch('E'); '''end-if''';
'''if''' ''ch'' = 'F' '''then''' read_ch('F'); read_ch('A'); read_ch('L'); read_ch('S'); read_ch('E'); '''end-if''';