aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syck/gram.h
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-29 03:27:01 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-29 03:27:01 +0000
commit49ad283b972b7e18436bd56465130b5d90fcedb6 (patch)
treed5676af3693e3b425b24a721ee485cbaf050dd63 /ext/syck/gram.h
parent49c85058af832dce0ea0cbc389945f45459bb43c (diff)
downloadruby-49ad283b972b7e18436bd56465130b5d90fcedb6.tar.gz
* ext/syck/token.c: prefixed many constants and definitions with YAML_ to
avoid name clash. * ext/syck/gram.c: ditto. * ext/syck/gram.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/gram.h')
-rw-r--r--ext/syck/gram.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/ext/syck/gram.h b/ext/syck/gram.h
index 46d6c82e37..f21796a64d 100644
--- a/ext/syck/gram.h
+++ b/ext/syck/gram.h
@@ -32,30 +32,30 @@
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
- ANCHOR = 258,
- ALIAS = 259,
- TRANSFER = 260,
- ITRANSFER = 261,
- WORD = 262,
- PLAIN = 263,
- BLOCK = 264,
- DOCSEP = 265,
- IOPEN = 266,
- INDENT = 267,
- IEND = 268
+ YAML_ANCHOR = 258,
+ YAML_ALIAS = 259,
+ YAML_TRANSFER = 260,
+ YAML_ITRANSFER = 261,
+ YAML_WORD = 262,
+ YAML_PLAIN = 263,
+ YAML_BLOCK = 264,
+ YAML_DOCSEP = 265,
+ YAML_IOPEN = 266,
+ YAML_INDENT = 267,
+ YAML_IEND = 268
};
#endif
-#define ANCHOR 258
-#define ALIAS 259
-#define TRANSFER 260
-#define ITRANSFER 261
-#define WORD 262
-#define PLAIN 263
-#define BLOCK 264
-#define DOCSEP 265
-#define IOPEN 266
-#define INDENT 267
-#define IEND 268
+#define YAML_ANCHOR 258
+#define YAML_ALIAS 259
+#define YAML_TRANSFER 260
+#define YAML_ITRANSFER 261
+#define YAML_WORD 262
+#define YAML_PLAIN 263
+#define YAML_BLOCK 264
+#define YAML_DOCSEP 265
+#define YAML_IOPEN 266
+#define YAML_INDENT 267
+#define YAML_IEND 268