summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-19 07:44:21 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-19 07:44:21 +0000
commit45ba33ed37485d760d7071c12ee9801e558a95aa (patch)
treebc7ecc1b576acdb5d5e020031fc6d20a82383f2f /gcc/testsuite
parent2699c19ea98c3809826f761c8837c46fa52234d7 (diff)
downloadgcc-45ba33ed37485d760d7071c12ee9801e558a95aa.tar.gz
2013-05-19 Basile Starynkevitch <basile@starynkevitch.net>
* melt/warmelt-macro.melt (mexpand_expr_chunk): Shift after keyword. * melt/warmelt-normal.melt (normexp_expr_chunk): Correct assert on reciever's class. Handle symbol. * testsuite/melt/tchunk-compo.melt: Improve with test for expr_chunk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@199076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/melt/tchunk-compo.melt6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/melt/tchunk-compo.melt b/gcc/testsuite/melt/tchunk-compo.melt
index 8584c7aa90c..44922a67e53 100644
--- a/gcc/testsuite/melt/tchunk-compo.melt
+++ b/gcc/testsuite/melt/tchunk-compo.melt
@@ -28,15 +28,17 @@
$(ignore (debug "inside compa_chk ll=" ll))
/* testa after ignore $COMPA_CHK */
if ($LL < 10)
- $LL += ($LL/3 + 1);
+ $LL += ($LL/3 + 1);
/* nested code chunk */
$(code_chunk
nested_chk
#{/* $NESTED_CHK inside $COMPA_CHK */
$LL ++;
}#)
+ /* end $COMPA_CHK */
}#)
- (debug "after compa_chk ll=" ll)
+ (debug "after compa_chk with exp_chk 2*ll="
+ (expr_chunk exp_chk :long #{/* $EXP_CHK */ $LL*2}#))
))
(testa)