             include: "#comments"
             comment: "jison supports C/C++ comments"
           }
+          {include: "#actions"}
           {
             include: "#rules"
           }

      }
    ]

  rule_actions:
    patterns: [
      {
        name: "meta.action.jison"
        begin: "\\{"

      }
    ]

  user_code_blocks:
    patterns: [
      {
        name:  "meta.user-code-block.jison"
        begin: "%\\{"
        end:   "%\\}"
        beginCaptures: 0: name: "punctuation.definition.user-code-block.begin.jison"
        endCaptures:   0: name: "punctuation.definition.user-code-block.end.jison"
        patterns: [include: "source.js"]
      }
    ]


# These are from https://github.com/GerHobbelt/jison/blob/master/lib/jison.js.
injections:
