diff options
| author | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-14 13:57:16 -0400 |
|---|---|---|
| committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-14 13:57:16 -0400 |
| commit | d9c488d191f2e9c64d0cb570c5acd4f33909a099 (patch) | |
| tree | fc2bba13fa6881772b292da2b226d58a35e71242 | |
| parent | 9a71e795dc14c401e501125865b2a15fe59f617b (diff) | |
Fix argument parsing
| -rw-r--r-- | pc.y | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -162,20 +162,20 @@ sub_prog_head ; arguments - :id_list ':' type - { - } - |param_list ';' id_list ':' type + :'(' param_list ')' { } + |/*empty*/ ; param_list :id_list ':' type { } - |param_list ':' type - ; + |param_list ';' id_list ':' type + { + } +; compound_statement :BEG opt_statements END |
