---
title: "comment_double_dash: error reference · tabnas"
description: "The tabnas error code comment_double_dash, declared by @tabnas/xml."
source: "https://tabnas.dev/errors/comment_double_dash/"
---

[Error reference](https://tabnas.dev/errors/)

# `comment_double_dash`

Declared by a grammar plugin, in addition to the engine's own codes.

## Declared by

-   `@tabnas/xml`: XML 1.0 parsing for the tabnas engine, with namespaces and entities. [source](https://github.com/tabnas/xml) [npm](https://www.npmjs.com/package/@tabnas/xml)

The message text for a plugin code lives in that plugin's own error catalogue, alongside its grammar: this page does not copy it, so it cannot fall out of step with the package you are running. The plugin's `AGENTS.md` lists what raises each of its codes.

## What to do with it

1.  Read the rest of the diagnostic: `row`/`col` point at the input, `expected` lists the tokens that would have matched, and `ruleStack` shows how the parser got there.
2.  Reproduce it on its own with `tabnas diagnose --json`, which prints the whole object.
3.  Work the grammar back from the failing alternate: the [`debug-parse` skill](https://tabnas.dev/skills/) is that procedure written out, and [the errors guide](https://tabnas.dev/how-to/parse-errors/) covers raising good ones from your own grammar.

Generated from the declaring package's `tabnas.plugin.json` descriptor. Engine 0.12.9.
