Syntax for event-specs and modifiers is:
Keyword driven
Based on ksh conventions; everything is split into words delimited by spaces
Since expressions can have spaces embedded in them, this can cause ambiguous situations. For example, consider the following two commands:
when a -temp when a-temp
In the first example, even though the application might have a variable named temp, the dbx parser resolves the event-spec in favor of -temp being a modifier. In the second example, a-temp is collectively passed to a language specific expression parser and there must be variables named a and temp or an error occurs. Use parentheses to force parsing.