summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-12-10 16:39:31 +0100
committerEugene Burmako <xeno.by@gmail.com>2013-12-17 13:03:08 +0100
commitb275c38c9491a6f7a47be40cb52e2935ca0e2d69 (patch)
tree0207ff8b724803350a071562882180c506cf83c2 /src/asm
parentb345b42cac64aa97e3bbcc6f14ef8f08214ab56f (diff)
downloadscala-b275c38c9491a6f7a47be40cb52e2935ca0e2d69.tar.gz
scala-b275c38c9491a6f7a47be40cb52e2935ca0e2d69.tar.bz2
scala-b275c38c9491a6f7a47be40cb52e2935ca0e2d69.zip
duplicates macro arguments before expansion
As discussed with Jason, this is an important dimension of defenses that we can build to ensure robustness of the macro engine. This commit is important in the context of the upcoming patch to the presentation compiler that will throw away expansions and keep original macro applications (only when run in presentation compiler mode) so that hyperlinking in macro arguments starts working in the IDE. Duplication of macro arguments will make sure that macro arguments, which are going to become exposed to the IDE, can’t become corrupted by possibly misbehaving or misguided macros.
Diffstat (limited to 'src/asm')
0 files changed, 0 insertions, 0 deletions