summaryrefslogtreecommitdiff
path: root/ext/dsent/model/TransitionInfo.h
diff options
context:
space:
mode:
authorLena Olson <leolson@google.com>2017-02-05 14:47:37 -0600
committerJason Lowe-Power <jason@lowepower.com>2017-03-09 11:18:55 -0600
commit620bf51ae7bcbcd373d7d7a5179d063af41dd0b1 (patch)
tree867229f1c20c37b9625000f9d790cfd311dd6f7c /ext/dsent/model/TransitionInfo.h
parent138000796a7826dc25bb3cb620096fc854e57ab7 (diff)
downloadgem5-620bf51ae7bcbcd373d7d7a5179d063af41dd0b1.tar.xz
ruby: fix and/or precedence in slicc
The slicc compiler currently treats && and || with the same precedence. This is highly non-intuitive to people used to C, and was probably an error. This patch makes && bind tighter than ||. For example, previously: if (A || B && C) compiled to: if ((A || B) && C) With this patch, it compiles to: if (A || (B && C)) Change-Id: Idbbd5b50cc86a8d6601045adc14a253284d7b791 Signed-off-by: Lena Olson (leolson@google.com) Reviewed-on: https://gem5-review.googlesource.com/2168 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Joe Gross <criusx@gmail.com> Reviewed-by: Sooraj Puthoor <puthoorsooraj@gmail.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Conflicts: COPYING
Diffstat (limited to 'ext/dsent/model/TransitionInfo.h')
0 files changed, 0 insertions, 0 deletions