Skip to content

Commit

Permalink
Rename SpecifiedParseError to OtherParseError (#184)
Browse files Browse the repository at this point in the history
test plan:
see related PR in semgrep


- [x] I ran `make setup && make` to update the generated code after
editing a `.atd` file (TODO: have a CI check)
- [x] I made sure we're still backward compatible with old versions of
the CLI.
For example, the Semgrep backend need to still be able to *consume* data
generated
	  by Semgrep 1.17.0.
See
https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
  • Loading branch information
aryx authored Nov 7, 2023
1 parent 1c70be3 commit 87316a5
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ type error_type
*)
| LexicalError <json name="Lexical error">
| ParseError (* a.k.a SyntaxError *) <json name="Syntax error">
| SpecifiedParseError <json name="Other syntax error">
| OtherParseError <json name="Other syntax error">
| AstBuilderError <json name="AST builder error">
(* Pattern parsing related errors.
* There are more precise info about the error in
Expand Down
10 changes: 5 additions & 5 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions semgrep_output_v1.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

108 changes: 54 additions & 54 deletions semgrep_output_v1_j.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion semgrep_output_v1_j.mli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87316a5

Please sign in to comment.