diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2015-10-15 15:51:30 +0300 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2015-10-27 21:55:04 +0200 |
| commit | 471f5a1f9a8bf24eff35183031ad38b9e11eeb0a (patch) | |
| tree | 01d9a1c7f23e05e0181ad624ab012d0f63143c22 /src/rustllvm/RustWrapper.cpp | |
| parent | 540fd3aa715c8af7efb4b06b7f9ab6da398deb62 (diff) | |
| download | rust-471f5a1f9a8bf24eff35183031ad38b9e11eeb0a.tar.gz rust-471f5a1f9a8bf24eff35183031ad38b9e11eeb0a.zip | |
Generalise associative operator parsing
This commit generalises parsing of associative operators from left-associative only (with some ugly hacks to support right-associative assignment) to properly left/right-associative operators. Parsing still is not general enough to handle non-associative, non-highest-precedence prefix or non-highest-precedence postfix operators (e.g. `..` range syntax), though. That should be fixed in the future. Lastly, this commit adds support for parsing right-associative `<-` (left arrow) operator with precedence higher than assignment as the operator for placement-in feature.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
