summaryrefslogtreecommitdiff
path: root/id.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-19 12:12:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-19 12:12:53 +0000
commitde85d6e92ec7b7642ad02ca93cb6d5cdf75ac481 (patch)
tree604a3d78d3322e8a13b853cc1778acc20132a45d /id.h
parentb014f1bc021702ee2800752aa37bfe7848118f2a (diff)
* common.mk (srcs): removed ID_H_TARGET.
* tool/generic_erb.rb: always overwrites if no if-change option. * template/id.h.tmpl: shows which token differs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'id.h')
-rw-r--r--id.h98
1 files changed, 65 insertions, 33 deletions
diff --git a/id.h b/id.h
index 576ab8cf6e..37c73ed0e8 100644
--- a/id.h
+++ b/id.h
@@ -1,3 +1,4 @@
+/* DO NOT EDIT THIS FILE DIRECTLY */
/**********************************************************************
id.h -
@@ -64,39 +65,70 @@ enum ruby_method_ids {
id_core_define_singleton_method = 374,
id_core_set_postexe = 375,
tLAST_TOKEN = 376,
-#elif tUPLUS != 321 || \
- tUMINUS != 322 || \
- tPOW != 323 || \
- tCMP != 324 || \
- tEQ != 325 || \
- tEQQ != 326 || \
- tNEQ != 327 || \
- tGEQ != 328 || \
- tLEQ != 329 || \
- tANDOP != 330 || \
- tOROP != 331 || \
- tMATCH != 332 || \
- tNMATCH != 333 || \
- tDOT2 != 334 || \
- tDOT3 != 335 || \
- tAREF != 336 || \
- tASET != 337 || \
- tLSHFT != 338 || \
- tRSHFT != 339 || \
- tLAMBDA != 352 || \
- idNULL != 365 || \
- idRespond_to != 366 || \
- idIFUNC != 367 || \
- idCFUNC != 368 || \
- idThrowState != 369 || \
- id_core_set_method_alias != 370 || \
- id_core_set_variable_alias != 371 || \
- id_core_undef_method != 372 || \
- id_core_define_method != 373 || \
- id_core_define_singleton_method != 374 || \
- id_core_set_postexe != 375 || \
- tLAST_TOKEN != 376
-#error id.h is out of date.
+#elif tUPLUS != 321
+#error tUPLUS differs
+#elif tUMINUS != 322
+#error tUMINUS differs
+#elif tPOW != 323
+#error tPOW differs
+#elif tCMP != 324
+#error tCMP differs
+#elif tEQ != 325
+#error tEQ differs
+#elif tEQQ != 326
+#error tEQQ differs
+#elif tNEQ != 327
+#error tNEQ differs
+#elif tGEQ != 328
+#error tGEQ differs
+#elif tLEQ != 329
+#error tLEQ differs
+#elif tANDOP != 330
+#error tANDOP differs
+#elif tOROP != 331
+#error tOROP differs
+#elif tMATCH != 332
+#error tMATCH differs
+#elif tNMATCH != 333
+#error tNMATCH differs
+#elif tDOT2 != 334
+#error tDOT2 differs
+#elif tDOT3 != 335
+#error tDOT3 differs
+#elif tAREF != 336
+#error tAREF differs
+#elif tASET != 337
+#error tASET differs
+#elif tLSHFT != 338
+#error tLSHFT differs
+#elif tRSHFT != 339
+#error tRSHFT differs
+#elif tLAMBDA != 352
+#error tLAMBDA differs
+#elif idNULL != 365
+#error idNULL differs
+#elif idRespond_to != 366
+#error idRespond_to differs
+#elif idIFUNC != 367
+#error idIFUNC differs
+#elif idCFUNC != 368
+#error idCFUNC differs
+#elif idThrowState != 369
+#error idThrowState differs
+#elif id_core_set_method_alias != 370
+#error id_core_set_method_alias differs
+#elif id_core_set_variable_alias != 371
+#error id_core_set_variable_alias differs
+#elif id_core_undef_method != 372
+#error id_core_undef_method differs
+#elif id_core_define_method != 373
+#error id_core_define_method differs
+#elif id_core_define_singleton_method != 374
+#error id_core_define_singleton_method differs
+#elif id_core_set_postexe != 375
+#error id_core_set_postexe differs
+#elif tLAST_TOKEN != 376
+#error tLAST_TOKEN differs
#endif
idPLUS = '+',
idMINUS = '-',