diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/progGuideDB/quickreference.xml | 4 | ||||
-rw-r--r-- | docs/progGuideDB/semantics.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/progGuideDB/quickreference.xml b/docs/progGuideDB/quickreference.xml index 6a5d83052..ef5c3cb80 100644 --- a/docs/progGuideDB/quickreference.xml +++ b/docs/progGuideDB/quickreference.xml @@ -682,7 +682,7 @@ </literal> </blockquote> where <replaceable>PerClause</replaceable> defines how the aspect is - instantiated and associated (<literal>issingleton</literal> by + instantiated and associated (<literal>issingleton()</literal> by default): </para> @@ -699,7 +699,7 @@ <tbody valign="top"> <row> <entry> - [ <literal>issingleton</literal> ] + [ <literal>issingleton()</literal> ] </entry> <entry> One instance of the aspect is made. This is diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml index fb83857e4..7ea74fe80 100644 --- a/docs/progGuideDB/semantics.xml +++ b/docs/progGuideDB/semantics.xml @@ -2966,11 +2966,11 @@ ModifiersPattern = <itemizedlist> <listitem><literal>aspect <replaceable>Id</replaceable> { ... }</literal></listitem> - <listitem><literal>aspect <replaceable>Id</replaceable> issingleton { ... }</literal></listitem> + <listitem><literal>aspect <replaceable>Id</replaceable> issingleton() { ... }</literal></listitem> </itemizedlist> <para> - By default (or by using the modifier <literal>issingleton</literal>) + By default (or by using the modifier <literal>issingleton()</literal>) an aspect has exactly one instance that cuts across the entire program. That instance is available at any time during program execution with the static method <literal>aspectOf()</literal> |