summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2019-02-05 13:46:32 -0800
committerGitHub <noreply@github.com>2019-02-05 13:46:32 -0800
commit314795b5d8ff5845624f93e152face325659dd0c (patch)
tree132dfad977c64218c55bf2b0f46db082c4e2297d /source/slang/syntax.cpp
parenta17b68a0ecc4c8e91d2ba3685f6e5bc30e3ead8c (diff)
Fix confused definitions of pre/post increment/decrement (#827)
* Fix confused definitions of pre/post increment/decrement We somehow have been compiling `++i` as `i++` (and vice versa) for a long time without noticing. This change fixes the implementation of these pseudo-ops in IR codegen, and adds a comment to explain the rationale for why their definitions should be what they are. * fixup: typo
Diffstat (limited to 'source/slang/syntax.cpp')
0 files changed, 0 insertions, 0 deletions