Skip to content

Commit

Permalink
DiceRollWithFilter: ダイスロールありフラグを立てる
Browse files Browse the repository at this point in the history
Refs #173

構文解析が通るようにする
  • Loading branch information
ochaochaocha3 committed May 5, 2020
1 parent 6686478 commit 38c590b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dice/add_dice/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def term
if filter
# ダイスロール後のフィルタリングあり
n_filtering = expect_number()
@contain_dice_roll = true
return Node::DiceRollWithFilter.new(times, sides, n_filtering, filter)
end

Expand Down

0 comments on commit 38c590b

Please sign in to comment.