Skip to content

Instantly share code, notes, and snippets.

@C2H6O
Forked from To1ne/ruby-install.patch
Created June 16, 2023 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save C2H6O/098e0dce81ef7c7c625a522023bb169b to your computer and use it in GitHub Desktop.
Save C2H6O/098e0dce81ef7c7c625a522023bb169b to your computer and use it in GitHub Desktop.
diff --git a/parse.h b/parse.h
index b65ad8f..174e702 100644
--- a/parse.h
+++ b/parse.h
@@ -49,7 +49,10 @@ extern int yydebug;
# define YYTOKENTYPE
enum yytokentype
{
+ YYEMPTY = -2,
END_OF_INPUT = 0,
+ YYerror = 256, /* error */
+ YYUNDEF = 257, /* "invalid token" */
keyword_class = 258,
keyword_module = 259,
keyword_def = 260,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment