diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-04-02 15:14:35 -0700 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2017-04-02 15:15:48 -0700 |
| commit | 0594487a2e98e18a18c0c6bdb2532c5e36fc6ea7 (patch) | |
| tree | cb82a82a5d6e20b1f30a53af48822951fc7a1d9d /src/ir_print.cpp | |
| parent | a33be6fc9906e010a44087dc2b7143717d875505 (diff) | |
| download | zig-0594487a2e98e18a18c0c6bdb2532c5e36fc6ea7.tar.gz zig-0594487a2e98e18a18c0c6bdb2532c5e36fc6ea7.zip | |
fix else-if parsing
implicit semicolon rules apply recursively to the "else" clause of if and try
if (a) {} else {} // implicit semicolon
if (a) {} else if (a) {} // implicit semicolon
if (a) {} else while (a) {} // implicit semicolon
Diffstat (limited to 'src/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions
