<para>
It results in the following error message showing that the parser was
- expecting something other than the <command>probe</command> in column 1 of
- line 2:
+ expecting something other than the <command>probe</command> keyword in
+ column 1 of line 2:
</para>
<para>
<programlisting>
</indexterm>
<para>The identifier (e.g. a variable) was used, but no type (integer or
string) could be determined. This occurs, for instance, if you use a
- variable in a <command>printf</command> statement while no other
- function in the script can assign a value to it.</para>
+ variable in a <command>printf</command> statement while
+ the script never assigns a value to the variable.</para>
</formalpara>
<formalpara>
</formalpara>
<formalpara>
- <title>semantic error: array locals not supported:</title>
+ <title>semantic error: array locals not supported, missing global declaration?</title>
<!-- next 2 indexterms for non-global arrays -->
<indexterm>
</formalpara>
<formalpara>
- <title>semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’</title>
+ <title>semantic error: variable ’<replaceable>foo</replaceable>’ modified during ’foreach’ iteration</title>
<!-- next 2 indexterms for variable modified during 'foreach' -->
<indexterm>
<secondary>parse/semantics error</secondary>
<tertiary>understanding SystemTap errors</tertiary>
</indexterm>
- <para>A handler in the script references a target variable, but the value of the variable could not be resolved. This error could also mean that a handler is referencing a target variable that is not valid at all in the context when it was referenced. </para>
+ <para>A handler in the script references a target variable, but the
+ value of the variable could not be resolved. This error could also mean
+ that a handler is referencing a target variable that is not valid
+ in the context when it was referenced. This may be a result of compiler
+ optimization of the generated code.</para>
</formalpara>
<formalpara>
<formalpara><title>MAXACTION exceeded</title>
<para>
- The probe handler attempted to execute too many statements.
+ The probe handler attempted to execute too many statements in the probe handler.
</para>
</formalpara>