From 847880aae5d2f4a958a65a0c722ade786118f0b1 Mon Sep 17 00:00:00 2001 From: Juergen Haug Date: Fri, 8 Feb 2019 14:58:43 +0100 Subject: Bug 543564 - [doc.gen] add operations in generated documentation Change-Id: I81b0e20f4e9533d5bfdab22319d03ff99bdccff6 --- .../models/VarargsTest.room | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room index 19e28a487..fedbbd653 100644 --- a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room +++ b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room @@ -18,18 +18,15 @@ RoomModel VarargsTest { Operation log(format: string, args: string varargs) '''''' Operation single(args: string varargs) '''''' Operation callTest() ''' - //log("text"); + //log("text"); // does not work in C due varargs macro log("text %d", "5"); log("text %d, %s", "5", text); - //single(); + //single(); // does not work in C due varargs macro single("5"); single("5", "txt"); - - // not supported by translation - /* + port.callTest(); - attr.callTest(); - + //port.log("text"); port.log("text %d", "5"); port.log("text %d, %s", "5", "txt"); @@ -37,6 +34,9 @@ RoomModel VarargsTest { port.single("5"); port.single("5", "txt"); + // not supported by translation + /* + //attr.callTest(); //attr.log("text"); attr.log("text %d", "5"); attr.log("text %d, %s", "5", "txt"); -- cgit v1.2.3