Skip to content
Snippets Groups Projects
Verified Commit d82adaff authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Allow empty shocks(overwrite) block.

parent fde0d98c
No related branches found
No related tags found
No related merge requests found
Pipeline #3977 passed
...@@ -1074,6 +1074,7 @@ pound_expression: '#' symbol EQUAL hand_side ';' ...@@ -1074,6 +1074,7 @@ pound_expression: '#' symbol EQUAL hand_side ';'
shocks : SHOCKS ';' shock_list END ';' { driver.end_shocks(false); } shocks : SHOCKS ';' shock_list END ';' { driver.end_shocks(false); }
| SHOCKS '(' OVERWRITE ')' ';' shock_list END ';' { driver.end_shocks(true); } | SHOCKS '(' OVERWRITE ')' ';' shock_list END ';' { driver.end_shocks(true); }
| SHOCKS '(' OVERWRITE ')' ';' END ';' { driver.end_shocks(true); }
; ;
shock_list : shock_list shock_elem shock_list : shock_list shock_elem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment