Print this page
7085 add support for "if" and "else" statements in dtrace

@@ -24,11 +24,11 @@
  * Use is subject to license terms.
  */
 
 /*
  * Copyright (c) 2013, Joyent, Inc. All rights reserved.
- * Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright (c) 2011, 2014 by Delphix. All rights reserved.
  */
 
 #ifndef _DT_IMPL_H
 #define _DT_IMPL_H
 

@@ -318,10 +318,11 @@
         dtrace_flowkind_t dt_flow;      /* flow kind */
         const char *dt_prefix;  /* recommended flow prefix */
         int dt_indent;          /* recommended flow indent */
         dtrace_epid_t dt_last_epid;     /* most recently consumed EPID */
         uint64_t dt_last_timestamp;     /* most recently consumed timestamp */
+        boolean_t dt_has_sugar; /* syntactic sugar used? */
 };
 
 /*
  * Values for the user arg of the ECB.
  */