wikitext 0.3 → 0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ext/parser.c CHANGED
@@ -30,6 +30,7 @@ typedef struct
30
30
  VALUE link_target; // short term "memory" for parsing links
31
31
  VALUE link_text; // short term "memory" for parsing links
32
32
  VALUE external_link_class; // CSS class applied to external links
33
+ VALUE img_prefix; // path prepended when emitting img tags
33
34
  ary_t *scope; // stack for tracking scope
34
35
  ary_t *line; // stack for tracking scope as implied by current line
35
36
  ary_t *line_buffer; // stack for tracking raw tokens (not scope) on current line
@@ -114,6 +115,10 @@ const char lt_entity[] = "<";
114
115
  const char gt_entity[] = ">";
115
116
  const char escaped_blockquote[] = "> ";
116
117
  const char ext_link_end[] = "]";
118
+ const char literal_img_start[] = "{{";
119
+ const char img_start[] = "<img src=\"";
120
+ const char img_end[] = "\" />";
121
+ const char img_alt[] = "\" alt=\"";
117
122
 
118
123
  // for testing and debugging only
119
124
  VALUE Wikitext_parser_tokenize(VALUE self, VALUE string)
@@ -182,6 +187,17 @@ inline VALUE _Wikitext_hyperlink(VALUE link_prefix, VALUE link_target, VALUE lin
182
187
  return string;
183
188
  }
184
189
 
190
+ inline void _Wikitext_append_img(parser_t *parser, char *token_ptr, int token_len)
191
+ {
192
+ rb_str_cat(parser->output, img_start, sizeof(img_start) - 1); // <img src="
193
+ if (!NIL_P(parser->img_prefix))
194
+ rb_str_append(parser->output, parser->img_prefix);
195
+ rb_str_cat(parser->output, token_ptr, token_len);
196
+ rb_str_cat(parser->output, img_alt, sizeof(img_alt) - 1); // " alt="
197
+ rb_str_cat(parser->output, token_ptr, token_len);
198
+ rb_str_cat(parser->output, img_end, sizeof(img_end) - 1); // " />
199
+ }
200
+
185
201
  // will emit indentation only if we are about to emit any of:
186
202
  // <blockquote>, <p>, <ul>, <ol>, <li>, <h1> etc, <pre>
187
203
  // each time we enter one of those spans must ++ the indentation level
@@ -831,19 +847,21 @@ VALUE Wikitext_parser_initialize(int argc, VALUE *argv, VALUE self)
831
847
  VALUE external_link_class = rb_str_new2("external");
832
848
  VALUE mailto_class = rb_str_new2("mailto");
833
849
  VALUE internal_link_prefix = rb_str_new2("/wiki/");
850
+ VALUE img_prefix = rb_str_new2("/images/");
834
851
  VALUE space_to_underscore = Qfalse;
835
852
  VALUE treat_slash_as_special = Qtrue;
836
853
 
837
854
  // process options hash (override defaults)
838
855
  if (!NIL_P(options) && TYPE(options) == T_HASH)
839
856
  {
840
- #define OVERRIDE_IF_SET(name) \
841
- NIL_P(rb_hash_aref(options, ID2SYM(rb_intern(#name)))) ? name : rb_hash_aref(options, ID2SYM(rb_intern(#name)))
857
+ #define OVERRIDE_IF_SET(name) rb_funcall(options, rb_intern("has_key?"), 1, ID2SYM(rb_intern(#name))) == Qtrue ? \
858
+ rb_hash_aref(options, ID2SYM(rb_intern(#name))) : name
842
859
  autolink = OVERRIDE_IF_SET(autolink);
843
860
  line_ending = OVERRIDE_IF_SET(line_ending);
844
861
  external_link_class = OVERRIDE_IF_SET(external_link_class);
845
862
  mailto_class = OVERRIDE_IF_SET(mailto_class);
846
863
  internal_link_prefix = OVERRIDE_IF_SET(internal_link_prefix);
864
+ img_prefix = OVERRIDE_IF_SET(img_prefix);
847
865
  space_to_underscore = OVERRIDE_IF_SET(space_to_underscore);
848
866
  treat_slash_as_special = OVERRIDE_IF_SET(treat_slash_as_special);
849
867
  }
@@ -854,6 +872,7 @@ NIL_P(rb_hash_aref(options, ID2SYM(rb_intern(#name)))) ? name : rb_hash_aref(opt
854
872
  rb_iv_set(self, "@external_link_class", external_link_class);
855
873
  rb_iv_set(self, "@mailto_class", mailto_class);
856
874
  rb_iv_set(self, "@internal_link_prefix", internal_link_prefix);
875
+ rb_iv_set(self, "@img_prefix", img_prefix);
857
876
  rb_iv_set(self, "@space_to_underscore", space_to_underscore);
858
877
  rb_iv_set(self, "@treat_slash_as_special", treat_slash_as_special);
859
878
  return self;
@@ -909,6 +928,7 @@ VALUE Wikitext_parser_parse(int argc, VALUE *argv, VALUE self)
909
928
  parser->link_target = Qnil;
910
929
  parser->link_text = Qnil;
911
930
  parser->external_link_class = link_class;
931
+ parser->img_prefix = rb_iv_get(self, "@img_prefix");
912
932
  parser->scope = ary_new();
913
933
  parser->line = ary_new();
914
934
  parser->line_buffer = ary_new();
@@ -1854,7 +1874,11 @@ VALUE Wikitext_parser_parse(int argc, VALUE *argv, VALUE self)
1854
1874
  type == QUOT ||
1855
1875
  type == QUOT_ENTITY ||
1856
1876
  type == AMP ||
1857
- type == AMP_ENTITY)
1877
+ type == AMP_ENTITY ||
1878
+ type == IMG_START ||
1879
+ type == IMG_END ||
1880
+ type == LEFT_CURLY ||
1881
+ type == RIGHT_CURLY)
1858
1882
  {
1859
1883
  // accumulate these tokens into link_target
1860
1884
  if (NIL_P(parser->link_target))
@@ -2091,6 +2115,49 @@ VALUE Wikitext_parser_parse(int argc, VALUE *argv, VALUE self)
2091
2115
  rb_str_cat(i, gt_entity, sizeof(gt_entity) - 1);
2092
2116
  break;
2093
2117
 
2118
+ case IMG_START:
2119
+ if (IN(NO_WIKI_START) || IN(PRE) || IN(PRE_START))
2120
+ rb_str_cat(parser->output, token->start, TOKEN_LEN(token));
2121
+ else if (!NIL_P(parser->capture))
2122
+ rb_str_cat(parser->capture, token->start, TOKEN_LEN(token));
2123
+ else
2124
+ {
2125
+ // not currently capturing: will be emitting something on success or failure, so get ready
2126
+ _Wikitext_pop_excess_elements(parser);
2127
+ _Wikitext_start_para_if_necessary(parser);
2128
+
2129
+ // peek ahead to see next token
2130
+ NEXT_TOKEN();
2131
+ if (token->type != PRINTABLE)
2132
+ // failure
2133
+ rb_str_cat(parser->output, literal_img_start, sizeof(literal_img_start) - 1);
2134
+ else
2135
+ {
2136
+ // remember the PRINTABLE
2137
+ char *token_ptr = token->start;
2138
+ int token_len = TOKEN_LEN(token);
2139
+
2140
+ // peek ahead once more
2141
+ NEXT_TOKEN();
2142
+ if (token->type == IMG_END)
2143
+ {
2144
+ // success
2145
+ _Wikitext_append_img(parser, token_ptr, token_len);
2146
+ token = NULL;
2147
+ }
2148
+ else
2149
+ {
2150
+ // failure
2151
+ rb_str_cat(parser->output, literal_img_start, sizeof(literal_img_start) - 1);
2152
+ rb_str_cat(parser->output, token_ptr, token_len);
2153
+ }
2154
+ }
2155
+
2156
+ // jump to top of the loop to process token we scanned during lookahead
2157
+ continue;
2158
+ }
2159
+ break;
2160
+
2094
2161
  case CRLF:
2095
2162
  parser->pending_crlf = Qfalse;
2096
2163
  _Wikitext_rollback_failed_link(parser); // if any
@@ -2167,6 +2234,9 @@ VALUE Wikitext_parser_parse(int argc, VALUE *argv, VALUE self)
2167
2234
  break;
2168
2235
 
2169
2236
  case PRINTABLE:
2237
+ case IMG_END:
2238
+ case LEFT_CURLY:
2239
+ case RIGHT_CURLY:
2170
2240
  i = NIL_P(parser->capture) ? parser->output : parser->capture;
2171
2241
  _Wikitext_pop_excess_elements(parser);
2172
2242
  _Wikitext_start_para_if_necessary(parser);
data/ext/token.c CHANGED
@@ -78,6 +78,10 @@ VALUE Wikitext_parser_token_types(VALUE self)
78
78
  SET_TOKEN_TYPE(AMP);
79
79
  SET_TOKEN_TYPE(LESS);
80
80
  SET_TOKEN_TYPE(GREATER);
81
+ SET_TOKEN_TYPE(IMG_START);
82
+ SET_TOKEN_TYPE(IMG_END);
83
+ SET_TOKEN_TYPE(LEFT_CURLY);
84
+ SET_TOKEN_TYPE(RIGHT_CURLY);
81
85
  SET_TOKEN_TYPE(CRLF);
82
86
  SET_TOKEN_TYPE(PRINTABLE);
83
87
  SET_TOKEN_TYPE(DEFAULT);
data/ext/token.h CHANGED
@@ -84,6 +84,10 @@ enum token_types {
84
84
  AMP,
85
85
  LESS,
86
86
  GREATER,
87
+ IMG_START,
88
+ IMG_END,
89
+ LEFT_CURLY,
90
+ RIGHT_CURLY,
87
91
  CRLF,
88
92
  PRINTABLE,
89
93
  DEFAULT,
data/ext/wikitext.c CHANGED
@@ -37,6 +37,7 @@ void Init_wikitext()
37
37
  rb_define_singleton_method(cWikitextParser, "encode_special_link_target", Wikitext_parser_encode_special_link_target, 1);
38
38
  rb_define_attr(cWikitextParser, "line_ending", Qtrue, Qtrue);
39
39
  rb_define_attr(cWikitextParser, "internal_link_prefix", Qtrue, Qtrue);
40
+ rb_define_attr(cWikitextParser, "img_prefix", Qtrue, Qtrue);
40
41
  rb_define_attr(cWikitextParser, "external_link_class", Qtrue, Qtrue);
41
42
  rb_define_attr(cWikitextParser, "mailto_class", Qtrue, Qtrue);
42
43
  rb_define_attr(cWikitextParser, "autolink", Qtrue, Qtrue);
data/ext/wikitext_ragel.c CHANGED
@@ -38,7 +38,7 @@ static const int wikitext_error = 0;
38
38
 
39
39
  static const int wikitext_en_main = 80;
40
40
 
41
- #line 418 "wikitext_ragel.rl"
41
+ #line 443 "wikitext_ragel.rl"
42
42
 
43
43
 
44
44
  // for now we use the scanner as a tokenizer that returns one token at a time, just like ANTLR
@@ -88,7 +88,7 @@ void next_token(token_t *out, token_t *last_token, char *p, char *pe)
88
88
  te = 0;
89
89
  act = 0;
90
90
  }
91
- #line 460 "wikitext_ragel.rl"
91
+ #line 485 "wikitext_ragel.rl"
92
92
 
93
93
  #line 94 "wikitext_ragel.c"
94
94
  {
@@ -102,7 +102,7 @@ tr0:
102
102
  out->code_point = ((uint32_t)(*(p - 1)) & 0x1f) << 6 |
103
103
  (*p & 0x3f);
104
104
  }
105
- #line 409 "wikitext_ragel.rl"
105
+ #line 434 "wikitext_ragel.rl"
106
106
  {te = p+1;{
107
107
  EMIT(DEFAULT);
108
108
  out->column_stop = out->column_start + 1;
@@ -116,7 +116,7 @@ tr3:
116
116
  ((uint32_t)(*(p - 1)) & 0x3f) << 6 |
117
117
  (*p & 0x3f);
118
118
  }
119
- #line 409 "wikitext_ragel.rl"
119
+ #line 434 "wikitext_ragel.rl"
120
120
  {te = p+1;{
121
121
  EMIT(DEFAULT);
122
122
  out->column_stop = out->column_start + 1;
@@ -131,7 +131,7 @@ tr6:
131
131
  ((uint32_t)(*(p - 1)) & 0x3f) << 6 |
132
132
  (*p & 0x3f);
133
133
  }
134
- #line 409 "wikitext_ragel.rl"
134
+ #line 434 "wikitext_ragel.rl"
135
135
  {te = p+1;{
136
136
  EMIT(DEFAULT);
137
137
  out->column_stop = out->column_start + 1;
@@ -283,7 +283,7 @@ tr94:
283
283
  {
284
284
  out->code_point = *p & 0x7f;
285
285
  }
286
- #line 409 "wikitext_ragel.rl"
286
+ #line 434 "wikitext_ragel.rl"
287
287
  {te = p+1;{
288
288
  EMIT(DEFAULT);
289
289
  out->column_stop = out->column_start + 1;
@@ -291,7 +291,7 @@ tr94:
291
291
  }}
292
292
  goto st80;
293
293
  tr95:
294
- #line 377 "wikitext_ragel.rl"
294
+ #line 401 "wikitext_ragel.rl"
295
295
  {te = p+1;{
296
296
  EMIT(CRLF);
297
297
  out->column_stop = 1;
@@ -345,15 +345,15 @@ tr114:
345
345
  {p++; cs = 80; goto _out;}
346
346
  }}
347
347
  goto st80;
348
- tr115:
348
+ tr116:
349
349
  #line 305 "wikitext_ragel.rl"
350
350
  {te = p+1;{
351
351
  EMIT(SEPARATOR);
352
352
  {p++; cs = 80; goto _out;}
353
353
  }}
354
354
  goto st80;
355
- tr116:
356
- #line 377 "wikitext_ragel.rl"
355
+ tr118:
356
+ #line 401 "wikitext_ragel.rl"
357
357
  {te = p;p--;{
358
358
  EMIT(CRLF);
359
359
  out->column_stop = 1;
@@ -361,8 +361,8 @@ tr116:
361
361
  {p++; cs = 80; goto _out;}
362
362
  }}
363
363
  goto st80;
364
- tr117:
365
- #line 377 "wikitext_ragel.rl"
364
+ tr119:
365
+ #line 401 "wikitext_ragel.rl"
366
366
  {te = p+1;{
367
367
  EMIT(CRLF);
368
368
  out->column_stop = 1;
@@ -370,7 +370,7 @@ tr117:
370
370
  {p++; cs = 80; goto _out;}
371
371
  }}
372
372
  goto st80;
373
- tr118:
373
+ tr120:
374
374
  #line 190 "wikitext_ragel.rl"
375
375
  {te = p;p--;{
376
376
  if (out->column_start == 1 || last_token_type == BLOCKQUOTE)
@@ -383,21 +383,21 @@ tr118:
383
383
  {p++; cs = 80; goto _out;}
384
384
  }}
385
385
  goto st80;
386
- tr120:
387
- #line 389 "wikitext_ragel.rl"
386
+ tr122:
387
+ #line 414 "wikitext_ragel.rl"
388
388
  {te = p;p--;{
389
389
  EMIT(PRINTABLE);
390
390
  {p++; cs = 80; goto _out;}
391
391
  }}
392
392
  goto st80;
393
- tr121:
393
+ tr123:
394
394
  #line 359 "wikitext_ragel.rl"
395
395
  {te = p;p--;{
396
396
  EMIT(AMP);
397
397
  {p++; cs = 80; goto _out;}
398
398
  }}
399
399
  goto st80;
400
- tr125:
400
+ tr127:
401
401
  #line 116 "wikitext_ragel.rl"
402
402
  {te = p;p--;{
403
403
  if (DISTANCE() == 5)
@@ -416,7 +416,7 @@ tr125:
416
416
  {p++; cs = 80; goto _out;}
417
417
  }}
418
418
  goto st80;
419
- tr129:
419
+ tr131:
420
420
  #line 116 "wikitext_ragel.rl"
421
421
  {te = p+1;{
422
422
  if (DISTANCE() == 5)
@@ -435,7 +435,7 @@ tr129:
435
435
  {p++; cs = 80; goto _out;}
436
436
  }}
437
437
  goto st80;
438
- tr132:
438
+ tr134:
439
439
  #line 1 "wikitext_ragel.rl"
440
440
  { switch( act ) {
441
441
  case 20:
@@ -450,7 +450,7 @@ tr132:
450
450
  {p++; cs = 80; goto _out;}
451
451
  }
452
452
  break;
453
- case 37:
453
+ case 41:
454
454
  {{p = ((te))-1;}
455
455
  EMIT(PRINTABLE);
456
456
  {p++; cs = 80; goto _out;}
@@ -460,21 +460,21 @@ tr132:
460
460
  }
461
461
  }
462
462
  goto st80;
463
- tr136:
463
+ tr138:
464
464
  #line 287 "wikitext_ragel.rl"
465
465
  {te = p;p--;{
466
466
  EMIT(MAIL);
467
467
  {p++; cs = 80; goto _out;}
468
468
  }}
469
469
  goto st80;
470
- tr140:
470
+ tr142:
471
471
  #line 365 "wikitext_ragel.rl"
472
472
  {te = p;p--;{
473
473
  EMIT(LESS);
474
474
  {p++; cs = 80; goto _out;}
475
475
  }}
476
476
  goto st80;
477
- tr148:
477
+ tr150:
478
478
  #line 228 "wikitext_ragel.rl"
479
479
  {te = p;p--;{
480
480
  if (out->column_start == 1 || last_token_type == BLOCKQUOTE || last_token_type == BLOCKQUOTE_START)
@@ -528,7 +528,7 @@ tr148:
528
528
  {p++; cs = 80; goto _out;}
529
529
  }}
530
530
  goto st80;
531
- tr150:
531
+ tr152:
532
532
  #line 177 "wikitext_ragel.rl"
533
533
  {te = p;p--;{
534
534
  if (out->column_start == 1 || last_token_type == BLOCKQUOTE)
@@ -541,7 +541,7 @@ tr150:
541
541
  {p++; cs = 80; goto _out;}
542
542
  }}
543
543
  goto st80;
544
- tr151:
544
+ tr153:
545
545
  #line 177 "wikitext_ragel.rl"
546
546
  {te = p+1;{
547
547
  if (out->column_start == 1 || last_token_type == BLOCKQUOTE)
@@ -554,41 +554,69 @@ tr151:
554
554
  {p++; cs = 80; goto _out;}
555
555
  }}
556
556
  goto st80;
557
- tr158:
557
+ tr160:
558
558
  #line 281 "wikitext_ragel.rl"
559
559
  {te = p;p--;{
560
560
  EMIT(URI);
561
561
  {p++; cs = 80; goto _out;}
562
562
  }}
563
563
  goto st80;
564
- tr179:
564
+ tr181:
565
565
  #line 311 "wikitext_ragel.rl"
566
566
  {te = p;p--;{
567
567
  EMIT(EXT_LINK_START);
568
568
  {p++; cs = 80; goto _out;}
569
569
  }}
570
570
  goto st80;
571
- tr180:
571
+ tr182:
572
572
  #line 293 "wikitext_ragel.rl"
573
573
  {te = p+1;{
574
574
  EMIT(LINK_START);
575
575
  {p++; cs = 80; goto _out;}
576
576
  }}
577
577
  goto st80;
578
- tr181:
578
+ tr183:
579
579
  #line 317 "wikitext_ragel.rl"
580
580
  {te = p;p--;{
581
581
  EMIT(EXT_LINK_END);
582
582
  {p++; cs = 80; goto _out;}
583
583
  }}
584
584
  goto st80;
585
- tr182:
585
+ tr184:
586
586
  #line 299 "wikitext_ragel.rl"
587
587
  {te = p+1;{
588
588
  EMIT(LINK_END);
589
589
  {p++; cs = 80; goto _out;}
590
590
  }}
591
591
  goto st80;
592
+ tr185:
593
+ #line 389 "wikitext_ragel.rl"
594
+ {te = p;p--;{
595
+ EMIT(LEFT_CURLY);
596
+ {p++; cs = 80; goto _out;}
597
+ }}
598
+ goto st80;
599
+ tr186:
600
+ #line 377 "wikitext_ragel.rl"
601
+ {te = p+1;{
602
+ EMIT(IMG_START);
603
+ {p++; cs = 80; goto _out;}
604
+ }}
605
+ goto st80;
606
+ tr187:
607
+ #line 395 "wikitext_ragel.rl"
608
+ {te = p;p--;{
609
+ EMIT(RIGHT_CURLY);
610
+ {p++; cs = 80; goto _out;}
611
+ }}
612
+ goto st80;
613
+ tr188:
614
+ #line 383 "wikitext_ragel.rl"
615
+ {te = p+1;{
616
+ EMIT(IMG_END);
617
+ {p++; cs = 80; goto _out;}
618
+ }}
619
+ goto st80;
592
620
  st80:
593
621
  #line 1 "wikitext_ragel.rl"
594
622
  {ts = 0;}
@@ -597,7 +625,7 @@ st80:
597
625
  case 80:
598
626
  #line 1 "wikitext_ragel.rl"
599
627
  {ts = p;}
600
- #line 601 "wikitext_ragel.c"
628
+ #line 629 "wikitext_ragel.c"
601
629
  switch( (*p) ) {
602
630
  case 10: goto tr95;
603
631
  case 13: goto tr96;
@@ -624,35 +652,35 @@ case 80:
624
652
  case 104: goto st109;
625
653
  case 109: goto st113;
626
654
  case 115: goto st128;
627
- case 124: goto tr115;
655
+ case 123: goto st132;
656
+ case 124: goto tr116;
657
+ case 125: goto st133;
658
+ case 126: goto st83;
628
659
  case 127: goto tr94;
629
660
  }
630
- if ( (*p) < 33 ) {
661
+ if ( (*p) < 1 ) {
631
662
  if ( (*p) < -32 ) {
632
663
  if ( -62 <= (*p) && (*p) <= -33 )
633
664
  goto st1;
634
665
  } else if ( (*p) > -17 ) {
635
- if ( (*p) > -12 ) {
636
- if ( 1 <= (*p) && (*p) <= 31 )
637
- goto tr94;
638
- } else if ( (*p) >= -16 )
666
+ if ( -16 <= (*p) && (*p) <= -12 )
639
667
  goto st4;
640
668
  } else
641
669
  goto st2;
642
- } else if ( (*p) > 44 ) {
643
- if ( (*p) < 58 ) {
644
- if ( 45 <= (*p) && (*p) <= 57 )
645
- goto st89;
646
- } else if ( (*p) > 64 ) {
647
- if ( (*p) > 122 ) {
648
- if ( 123 <= (*p) && (*p) <= 126 )
649
- goto st83;
650
- } else if ( (*p) >= 65 )
651
- goto st89;
670
+ } else if ( (*p) > 31 ) {
671
+ if ( (*p) < 45 ) {
672
+ if ( 33 <= (*p) && (*p) <= 44 )
673
+ goto st83;
674
+ } else if ( (*p) > 57 ) {
675
+ if ( (*p) > 64 ) {
676
+ if ( 65 <= (*p) && (*p) <= 122 )
677
+ goto st89;
678
+ } else if ( (*p) >= 58 )
679
+ goto st83;
652
680
  } else
653
- goto st83;
681
+ goto st89;
654
682
  } else
655
- goto st83;
683
+ goto tr94;
656
684
  goto st0;
657
685
  st0:
658
686
  cs = 0;
@@ -709,10 +737,10 @@ st81:
709
737
  if ( ++p == pe )
710
738
  goto _test_eof81;
711
739
  case 81:
712
- #line 713 "wikitext_ragel.c"
740
+ #line 741 "wikitext_ragel.c"
713
741
  if ( (*p) == 10 )
714
- goto tr117;
715
- goto tr116;
742
+ goto tr119;
743
+ goto tr118;
716
744
  tr97:
717
745
  #line 36 "wikitext_ragel.rl"
718
746
  {
@@ -723,10 +751,10 @@ st82:
723
751
  if ( ++p == pe )
724
752
  goto _test_eof82;
725
753
  case 82:
726
- #line 727 "wikitext_ragel.c"
754
+ #line 755 "wikitext_ragel.c"
727
755
  if ( (*p) == 32 )
728
756
  goto st82;
729
- goto tr118;
757
+ goto tr120;
730
758
  st83:
731
759
  if ( ++p == pe )
732
760
  goto _test_eof83;
@@ -734,28 +762,26 @@ case 83:
734
762
  switch( (*p) ) {
735
763
  case 33: goto st83;
736
764
  case 92: goto st83;
765
+ case 126: goto st83;
737
766
  }
738
- if ( (*p) < 63 ) {
739
- if ( (*p) < 40 ) {
740
- if ( 36 <= (*p) && (*p) <= 37 )
741
- goto st83;
742
- } else if ( (*p) > 41 ) {
743
- if ( 43 <= (*p) && (*p) <= 59 )
767
+ if ( (*p) < 43 ) {
768
+ if ( (*p) > 37 ) {
769
+ if ( 40 <= (*p) && (*p) <= 41 )
744
770
  goto st83;
745
- } else
771
+ } else if ( (*p) >= 36 )
746
772
  goto st83;
747
- } else if ( (*p) > 90 ) {
748
- if ( (*p) < 97 ) {
749
- if ( 94 <= (*p) && (*p) <= 95 )
773
+ } else if ( (*p) > 59 ) {
774
+ if ( (*p) < 94 ) {
775
+ if ( 63 <= (*p) && (*p) <= 90 )
750
776
  goto st83;
751
- } else if ( (*p) > 123 ) {
752
- if ( 125 <= (*p) && (*p) <= 126 )
777
+ } else if ( (*p) > 95 ) {
778
+ if ( 97 <= (*p) && (*p) <= 122 )
753
779
  goto st83;
754
780
  } else
755
781
  goto st83;
756
782
  } else
757
783
  goto st83;
758
- goto tr120;
784
+ goto tr122;
759
785
  tr101:
760
786
  #line 1 "wikitext_ragel.rl"
761
787
  {te = p+1;}
@@ -764,7 +790,7 @@ st84:
764
790
  if ( ++p == pe )
765
791
  goto _test_eof84;
766
792
  case 84:
767
- #line 768 "wikitext_ragel.c"
793
+ #line 794 "wikitext_ragel.c"
768
794
  switch( (*p) ) {
769
795
  case 35: goto st7;
770
796
  case 97: goto st13;
@@ -775,7 +801,7 @@ case 84:
775
801
  goto st11;
776
802
  } else if ( (*p) >= 65 )
777
803
  goto st11;
778
- goto tr121;
804
+ goto tr123;
779
805
  st7:
780
806
  if ( ++p == pe )
781
807
  goto _test_eof7;
@@ -969,28 +995,28 @@ st85:
969
995
  case 85:
970
996
  if ( (*p) == 39 )
971
997
  goto st86;
972
- goto tr125;
998
+ goto tr127;
973
999
  st86:
974
1000
  if ( ++p == pe )
975
1001
  goto _test_eof86;
976
1002
  case 86:
977
1003
  if ( (*p) == 39 )
978
1004
  goto st87;
979
- goto tr125;
1005
+ goto tr127;
980
1006
  st87:
981
1007
  if ( ++p == pe )
982
1008
  goto _test_eof87;
983
1009
  case 87:
984
1010
  if ( (*p) == 39 )
985
1011
  goto st88;
986
- goto tr125;
1012
+ goto tr127;
987
1013
  st88:
988
1014
  if ( ++p == pe )
989
1015
  goto _test_eof88;
990
1016
  case 88:
991
1017
  if ( (*p) == 39 )
992
- goto tr129;
993
- goto tr125;
1018
+ goto tr131;
1019
+ goto tr127;
994
1020
  st89:
995
1021
  if ( ++p == pe )
996
1022
  goto _test_eof89;
@@ -1003,7 +1029,7 @@ case 89:
1003
1029
  case 92: goto st83;
1004
1030
  case 94: goto st83;
1005
1031
  case 95: goto st89;
1006
- case 123: goto st83;
1032
+ case 126: goto st83;
1007
1033
  }
1008
1034
  if ( (*p) < 45 ) {
1009
1035
  if ( (*p) < 40 ) {
@@ -1019,16 +1045,13 @@ case 89:
1019
1045
  if ( 58 <= (*p) && (*p) <= 59 )
1020
1046
  goto st83;
1021
1047
  } else if ( (*p) > 90 ) {
1022
- if ( (*p) > 122 ) {
1023
- if ( 125 <= (*p) && (*p) <= 126 )
1024
- goto st83;
1025
- } else if ( (*p) >= 97 )
1048
+ if ( 97 <= (*p) && (*p) <= 122 )
1026
1049
  goto st89;
1027
1050
  } else
1028
1051
  goto st89;
1029
1052
  } else
1030
1053
  goto st89;
1031
- goto tr120;
1054
+ goto tr122;
1032
1055
  st90:
1033
1056
  if ( ++p == pe )
1034
1057
  goto _test_eof90;
@@ -1036,7 +1059,7 @@ case 90:
1036
1059
  switch( (*p) ) {
1037
1060
  case 33: goto st83;
1038
1061
  case 92: goto st83;
1039
- case 123: goto st83;
1062
+ case 126: goto st83;
1040
1063
  }
1041
1064
  if ( (*p) < 58 ) {
1042
1065
  if ( (*p) < 40 ) {
@@ -1045,36 +1068,33 @@ case 90:
1045
1068
  } else if ( (*p) > 41 ) {
1046
1069
  if ( (*p) > 47 ) {
1047
1070
  if ( 48 <= (*p) && (*p) <= 57 )
1048
- goto tr131;
1071
+ goto tr133;
1049
1072
  } else if ( (*p) >= 43 )
1050
1073
  goto st83;
1051
1074
  } else
1052
1075
  goto st83;
1053
1076
  } else if ( (*p) > 59 ) {
1054
- if ( (*p) < 94 ) {
1055
- if ( (*p) > 64 ) {
1056
- if ( 65 <= (*p) && (*p) <= 90 )
1057
- goto tr131;
1058
- } else if ( (*p) >= 63 )
1077
+ if ( (*p) < 65 ) {
1078
+ if ( 63 <= (*p) && (*p) <= 64 )
1079
+ goto st83;
1080
+ } else if ( (*p) > 90 ) {
1081
+ if ( (*p) > 95 ) {
1082
+ if ( 97 <= (*p) && (*p) <= 122 )
1083
+ goto tr133;
1084
+ } else if ( (*p) >= 94 )
1059
1085
  goto st83;
1060
- } else if ( (*p) > 95 ) {
1061
- if ( (*p) > 122 ) {
1062
- if ( 125 <= (*p) && (*p) <= 126 )
1063
- goto st83;
1064
- } else if ( (*p) >= 97 )
1065
- goto tr131;
1066
1086
  } else
1067
- goto st83;
1087
+ goto tr133;
1068
1088
  } else
1069
1089
  goto st83;
1070
- goto tr120;
1071
- tr131:
1090
+ goto tr122;
1091
+ tr133:
1072
1092
  #line 1 "wikitext_ragel.rl"
1073
1093
  {te = p+1;}
1074
- #line 389 "wikitext_ragel.rl"
1075
- {act = 37;}
1094
+ #line 414 "wikitext_ragel.rl"
1095
+ {act = 41;}
1076
1096
  goto st91;
1077
- tr139:
1097
+ tr141:
1078
1098
  #line 1 "wikitext_ragel.rl"
1079
1099
  {te = p+1;}
1080
1100
  #line 287 "wikitext_ragel.rl"
@@ -1084,12 +1104,12 @@ st91:
1084
1104
  if ( ++p == pe )
1085
1105
  goto _test_eof91;
1086
1106
  case 91:
1087
- #line 1088 "wikitext_ragel.c"
1107
+ #line 1108 "wikitext_ragel.c"
1088
1108
  switch( (*p) ) {
1089
1109
  case 33: goto st83;
1090
1110
  case 46: goto st92;
1091
1111
  case 92: goto st83;
1092
- case 123: goto st83;
1112
+ case 126: goto st83;
1093
1113
  }
1094
1114
  if ( (*p) < 58 ) {
1095
1115
  if ( (*p) < 40 ) {
@@ -1098,29 +1118,26 @@ case 91:
1098
1118
  } else if ( (*p) > 41 ) {
1099
1119
  if ( (*p) > 47 ) {
1100
1120
  if ( 48 <= (*p) && (*p) <= 57 )
1101
- goto tr131;
1121
+ goto tr133;
1102
1122
  } else if ( (*p) >= 43 )
1103
1123
  goto st83;
1104
1124
  } else
1105
1125
  goto st83;
1106
1126
  } else if ( (*p) > 59 ) {
1107
- if ( (*p) < 94 ) {
1108
- if ( (*p) > 64 ) {
1109
- if ( 65 <= (*p) && (*p) <= 90 )
1110
- goto tr131;
1111
- } else if ( (*p) >= 63 )
1127
+ if ( (*p) < 65 ) {
1128
+ if ( 63 <= (*p) && (*p) <= 64 )
1129
+ goto st83;
1130
+ } else if ( (*p) > 90 ) {
1131
+ if ( (*p) > 95 ) {
1132
+ if ( 97 <= (*p) && (*p) <= 122 )
1133
+ goto tr133;
1134
+ } else if ( (*p) >= 94 )
1112
1135
  goto st83;
1113
- } else if ( (*p) > 95 ) {
1114
- if ( (*p) > 122 ) {
1115
- if ( 125 <= (*p) && (*p) <= 126 )
1116
- goto st83;
1117
- } else if ( (*p) >= 97 )
1118
- goto tr131;
1119
1136
  } else
1120
- goto st83;
1137
+ goto tr133;
1121
1138
  } else
1122
1139
  goto st83;
1123
- goto tr132;
1140
+ goto tr134;
1124
1141
  st92:
1125
1142
  if ( ++p == pe )
1126
1143
  goto _test_eof92;
@@ -1128,7 +1145,7 @@ case 92:
1128
1145
  switch( (*p) ) {
1129
1146
  case 33: goto st83;
1130
1147
  case 92: goto st83;
1131
- case 123: goto st83;
1148
+ case 126: goto st83;
1132
1149
  }
1133
1150
  if ( (*p) < 58 ) {
1134
1151
  if ( (*p) < 40 ) {
@@ -1137,29 +1154,26 @@ case 92:
1137
1154
  } else if ( (*p) > 41 ) {
1138
1155
  if ( (*p) > 47 ) {
1139
1156
  if ( 48 <= (*p) && (*p) <= 57 )
1140
- goto tr131;
1157
+ goto tr133;
1141
1158
  } else if ( (*p) >= 43 )
1142
1159
  goto st83;
1143
1160
  } else
1144
1161
  goto st83;
1145
1162
  } else if ( (*p) > 59 ) {
1146
- if ( (*p) < 94 ) {
1147
- if ( (*p) > 64 ) {
1148
- if ( 65 <= (*p) && (*p) <= 90 )
1163
+ if ( (*p) < 65 ) {
1164
+ if ( 63 <= (*p) && (*p) <= 64 )
1165
+ goto st83;
1166
+ } else if ( (*p) > 90 ) {
1167
+ if ( (*p) > 95 ) {
1168
+ if ( 97 <= (*p) && (*p) <= 122 )
1149
1169
  goto st93;
1150
- } else if ( (*p) >= 63 )
1170
+ } else if ( (*p) >= 94 )
1151
1171
  goto st83;
1152
- } else if ( (*p) > 95 ) {
1153
- if ( (*p) > 122 ) {
1154
- if ( 125 <= (*p) && (*p) <= 126 )
1155
- goto st83;
1156
- } else if ( (*p) >= 97 )
1157
- goto st93;
1158
1172
  } else
1159
- goto st83;
1173
+ goto st93;
1160
1174
  } else
1161
1175
  goto st83;
1162
- goto tr120;
1176
+ goto tr122;
1163
1177
  st93:
1164
1178
  if ( ++p == pe )
1165
1179
  goto _test_eof93;
@@ -1168,7 +1182,7 @@ case 93:
1168
1182
  case 33: goto st83;
1169
1183
  case 46: goto st92;
1170
1184
  case 92: goto st83;
1171
- case 123: goto st83;
1185
+ case 126: goto st83;
1172
1186
  }
1173
1187
  if ( (*p) < 58 ) {
1174
1188
  if ( (*p) < 40 ) {
@@ -1177,29 +1191,26 @@ case 93:
1177
1191
  } else if ( (*p) > 41 ) {
1178
1192
  if ( (*p) > 47 ) {
1179
1193
  if ( 48 <= (*p) && (*p) <= 57 )
1180
- goto tr131;
1194
+ goto tr133;
1181
1195
  } else if ( (*p) >= 43 )
1182
1196
  goto st83;
1183
1197
  } else
1184
1198
  goto st83;
1185
1199
  } else if ( (*p) > 59 ) {
1186
- if ( (*p) < 94 ) {
1187
- if ( (*p) > 64 ) {
1188
- if ( 65 <= (*p) && (*p) <= 90 )
1200
+ if ( (*p) < 65 ) {
1201
+ if ( 63 <= (*p) && (*p) <= 64 )
1202
+ goto st83;
1203
+ } else if ( (*p) > 90 ) {
1204
+ if ( (*p) > 95 ) {
1205
+ if ( 97 <= (*p) && (*p) <= 122 )
1189
1206
  goto st94;
1190
- } else if ( (*p) >= 63 )
1207
+ } else if ( (*p) >= 94 )
1191
1208
  goto st83;
1192
- } else if ( (*p) > 95 ) {
1193
- if ( (*p) > 122 ) {
1194
- if ( 125 <= (*p) && (*p) <= 126 )
1195
- goto st83;
1196
- } else if ( (*p) >= 97 )
1197
- goto st94;
1198
1209
  } else
1199
- goto st83;
1210
+ goto st94;
1200
1211
  } else
1201
1212
  goto st83;
1202
- goto tr120;
1213
+ goto tr122;
1203
1214
  st94:
1204
1215
  if ( ++p == pe )
1205
1216
  goto _test_eof94;
@@ -1208,7 +1219,7 @@ case 94:
1208
1219
  case 33: goto st83;
1209
1220
  case 46: goto st92;
1210
1221
  case 92: goto st83;
1211
- case 123: goto st83;
1222
+ case 126: goto st83;
1212
1223
  }
1213
1224
  if ( (*p) < 58 ) {
1214
1225
  if ( (*p) < 40 ) {
@@ -1217,29 +1228,26 @@ case 94:
1217
1228
  } else if ( (*p) > 41 ) {
1218
1229
  if ( (*p) > 47 ) {
1219
1230
  if ( 48 <= (*p) && (*p) <= 57 )
1220
- goto tr131;
1231
+ goto tr133;
1221
1232
  } else if ( (*p) >= 43 )
1222
1233
  goto st83;
1223
1234
  } else
1224
1235
  goto st83;
1225
1236
  } else if ( (*p) > 59 ) {
1226
- if ( (*p) < 94 ) {
1227
- if ( (*p) > 64 ) {
1228
- if ( 65 <= (*p) && (*p) <= 90 )
1237
+ if ( (*p) < 65 ) {
1238
+ if ( 63 <= (*p) && (*p) <= 64 )
1239
+ goto st83;
1240
+ } else if ( (*p) > 90 ) {
1241
+ if ( (*p) > 95 ) {
1242
+ if ( 97 <= (*p) && (*p) <= 122 )
1229
1243
  goto st95;
1230
- } else if ( (*p) >= 63 )
1244
+ } else if ( (*p) >= 94 )
1231
1245
  goto st83;
1232
- } else if ( (*p) > 95 ) {
1233
- if ( (*p) > 122 ) {
1234
- if ( 125 <= (*p) && (*p) <= 126 )
1235
- goto st83;
1236
- } else if ( (*p) >= 97 )
1237
- goto st95;
1238
1246
  } else
1239
- goto st83;
1247
+ goto st95;
1240
1248
  } else
1241
1249
  goto st83;
1242
- goto tr136;
1250
+ goto tr138;
1243
1251
  st95:
1244
1252
  if ( ++p == pe )
1245
1253
  goto _test_eof95;
@@ -1248,7 +1256,7 @@ case 95:
1248
1256
  case 33: goto st83;
1249
1257
  case 46: goto st92;
1250
1258
  case 92: goto st83;
1251
- case 123: goto st83;
1259
+ case 126: goto st83;
1252
1260
  }
1253
1261
  if ( (*p) < 58 ) {
1254
1262
  if ( (*p) < 40 ) {
@@ -1257,29 +1265,26 @@ case 95:
1257
1265
  } else if ( (*p) > 41 ) {
1258
1266
  if ( (*p) > 47 ) {
1259
1267
  if ( 48 <= (*p) && (*p) <= 57 )
1260
- goto tr131;
1268
+ goto tr133;
1261
1269
  } else if ( (*p) >= 43 )
1262
1270
  goto st83;
1263
1271
  } else
1264
1272
  goto st83;
1265
1273
  } else if ( (*p) > 59 ) {
1266
- if ( (*p) < 94 ) {
1267
- if ( (*p) > 64 ) {
1268
- if ( 65 <= (*p) && (*p) <= 90 )
1274
+ if ( (*p) < 65 ) {
1275
+ if ( 63 <= (*p) && (*p) <= 64 )
1276
+ goto st83;
1277
+ } else if ( (*p) > 90 ) {
1278
+ if ( (*p) > 95 ) {
1279
+ if ( 97 <= (*p) && (*p) <= 122 )
1269
1280
  goto st96;
1270
- } else if ( (*p) >= 63 )
1281
+ } else if ( (*p) >= 94 )
1271
1282
  goto st83;
1272
- } else if ( (*p) > 95 ) {
1273
- if ( (*p) > 122 ) {
1274
- if ( 125 <= (*p) && (*p) <= 126 )
1275
- goto st83;
1276
- } else if ( (*p) >= 97 )
1277
- goto st96;
1278
1283
  } else
1279
- goto st83;
1284
+ goto st96;
1280
1285
  } else
1281
1286
  goto st83;
1282
- goto tr136;
1287
+ goto tr138;
1283
1288
  st96:
1284
1289
  if ( ++p == pe )
1285
1290
  goto _test_eof96;
@@ -1288,7 +1293,7 @@ case 96:
1288
1293
  case 33: goto st83;
1289
1294
  case 46: goto st92;
1290
1295
  case 92: goto st83;
1291
- case 123: goto st83;
1296
+ case 126: goto st83;
1292
1297
  }
1293
1298
  if ( (*p) < 58 ) {
1294
1299
  if ( (*p) < 40 ) {
@@ -1297,29 +1302,26 @@ case 96:
1297
1302
  } else if ( (*p) > 41 ) {
1298
1303
  if ( (*p) > 47 ) {
1299
1304
  if ( 48 <= (*p) && (*p) <= 57 )
1300
- goto tr131;
1305
+ goto tr133;
1301
1306
  } else if ( (*p) >= 43 )
1302
1307
  goto st83;
1303
1308
  } else
1304
1309
  goto st83;
1305
1310
  } else if ( (*p) > 59 ) {
1306
- if ( (*p) < 94 ) {
1307
- if ( (*p) > 64 ) {
1308
- if ( 65 <= (*p) && (*p) <= 90 )
1309
- goto tr139;
1310
- } else if ( (*p) >= 63 )
1311
+ if ( (*p) < 65 ) {
1312
+ if ( 63 <= (*p) && (*p) <= 64 )
1313
+ goto st83;
1314
+ } else if ( (*p) > 90 ) {
1315
+ if ( (*p) > 95 ) {
1316
+ if ( 97 <= (*p) && (*p) <= 122 )
1317
+ goto tr141;
1318
+ } else if ( (*p) >= 94 )
1311
1319
  goto st83;
1312
- } else if ( (*p) > 95 ) {
1313
- if ( (*p) > 122 ) {
1314
- if ( 125 <= (*p) && (*p) <= 126 )
1315
- goto st83;
1316
- } else if ( (*p) >= 97 )
1317
- goto tr139;
1318
1320
  } else
1319
- goto st83;
1321
+ goto tr141;
1320
1322
  } else
1321
1323
  goto st83;
1322
- goto tr136;
1324
+ goto tr138;
1323
1325
  tr105:
1324
1326
  #line 1 "wikitext_ragel.rl"
1325
1327
  {te = p+1;}
@@ -1328,7 +1330,7 @@ st97:
1328
1330
  if ( ++p == pe )
1329
1331
  goto _test_eof97;
1330
1332
  case 97:
1331
- #line 1332 "wikitext_ragel.c"
1333
+ #line 1334 "wikitext_ragel.c"
1332
1334
  switch( (*p) ) {
1333
1335
  case 47: goto st20;
1334
1336
  case 66: goto st50;
@@ -1344,7 +1346,7 @@ case 97:
1344
1346
  case 115: goto st71;
1345
1347
  case 116: goto st77;
1346
1348
  }
1347
- goto tr140;
1349
+ goto tr142;
1348
1350
  st20:
1349
1351
  if ( ++p == pe )
1350
1352
  goto _test_eof20;
@@ -1872,19 +1874,19 @@ st98:
1872
1874
  if ( ++p == pe )
1873
1875
  goto _test_eof98;
1874
1876
  case 98:
1875
- #line 1876 "wikitext_ragel.c"
1877
+ #line 1878 "wikitext_ragel.c"
1876
1878
  switch( (*p) ) {
1877
1879
  case 32: goto st99;
1878
1880
  case 61: goto tr106;
1879
1881
  }
1880
- goto tr148;
1882
+ goto tr150;
1881
1883
  st99:
1882
1884
  if ( ++p == pe )
1883
1885
  goto _test_eof99;
1884
1886
  case 99:
1885
1887
  if ( (*p) == 32 )
1886
1888
  goto st99;
1887
- goto tr148;
1889
+ goto tr150;
1888
1890
  tr107:
1889
1891
  #line 36 "wikitext_ragel.rl"
1890
1892
  {
@@ -1895,10 +1897,10 @@ st100:
1895
1897
  if ( ++p == pe )
1896
1898
  goto _test_eof100;
1897
1899
  case 100:
1898
- #line 1899 "wikitext_ragel.c"
1900
+ #line 1901 "wikitext_ragel.c"
1899
1901
  if ( (*p) == 32 )
1900
- goto tr151;
1901
- goto tr150;
1902
+ goto tr153;
1903
+ goto tr152;
1902
1904
  st101:
1903
1905
  if ( ++p == pe )
1904
1906
  goto _test_eof101;
@@ -1913,7 +1915,7 @@ case 101:
1913
1915
  case 94: goto st83;
1914
1916
  case 95: goto st89;
1915
1917
  case 116: goto st102;
1916
- case 123: goto st83;
1918
+ case 126: goto st83;
1917
1919
  }
1918
1920
  if ( (*p) < 45 ) {
1919
1921
  if ( (*p) < 40 ) {
@@ -1929,16 +1931,13 @@ case 101:
1929
1931
  if ( 58 <= (*p) && (*p) <= 59 )
1930
1932
  goto st83;
1931
1933
  } else if ( (*p) > 90 ) {
1932
- if ( (*p) > 122 ) {
1933
- if ( 125 <= (*p) && (*p) <= 126 )
1934
- goto st83;
1935
- } else if ( (*p) >= 97 )
1934
+ if ( 97 <= (*p) && (*p) <= 122 )
1936
1935
  goto st89;
1937
1936
  } else
1938
1937
  goto st89;
1939
1938
  } else
1940
1939
  goto st89;
1941
- goto tr120;
1940
+ goto tr122;
1942
1941
  st102:
1943
1942
  if ( ++p == pe )
1944
1943
  goto _test_eof102;
@@ -1953,7 +1952,7 @@ case 102:
1953
1952
  case 94: goto st83;
1954
1953
  case 95: goto st89;
1955
1954
  case 112: goto st103;
1956
- case 123: goto st83;
1955
+ case 126: goto st83;
1957
1956
  }
1958
1957
  if ( (*p) < 45 ) {
1959
1958
  if ( (*p) < 40 ) {
@@ -1969,16 +1968,13 @@ case 102:
1969
1968
  if ( 58 <= (*p) && (*p) <= 59 )
1970
1969
  goto st83;
1971
1970
  } else if ( (*p) > 90 ) {
1972
- if ( (*p) > 122 ) {
1973
- if ( 125 <= (*p) && (*p) <= 126 )
1974
- goto st83;
1975
- } else if ( (*p) >= 97 )
1971
+ if ( 97 <= (*p) && (*p) <= 122 )
1976
1972
  goto st89;
1977
1973
  } else
1978
1974
  goto st89;
1979
1975
  } else
1980
1976
  goto st89;
1981
- goto tr120;
1977
+ goto tr122;
1982
1978
  st103:
1983
1979
  if ( ++p == pe )
1984
1980
  goto _test_eof103;
@@ -1993,29 +1989,26 @@ case 103:
1993
1989
  case 92: goto st83;
1994
1990
  case 94: goto st83;
1995
1991
  case 95: goto st89;
1996
- case 123: goto st83;
1992
+ case 126: goto st83;
1997
1993
  }
1998
- if ( (*p) < 45 ) {
1999
- if ( (*p) < 40 ) {
2000
- if ( 36 <= (*p) && (*p) <= 37 )
2001
- goto st83;
2002
- } else if ( (*p) > 41 ) {
2003
- if ( 43 <= (*p) && (*p) <= 44 )
1994
+ if ( (*p) < 43 ) {
1995
+ if ( (*p) > 37 ) {
1996
+ if ( 40 <= (*p) && (*p) <= 41 )
2004
1997
  goto st83;
2005
- } else
1998
+ } else if ( (*p) >= 36 )
2006
1999
  goto st83;
2007
- } else if ( (*p) > 57 ) {
2008
- if ( (*p) < 97 ) {
2009
- if ( 65 <= (*p) && (*p) <= 90 )
2000
+ } else if ( (*p) > 44 ) {
2001
+ if ( (*p) < 65 ) {
2002
+ if ( 45 <= (*p) && (*p) <= 57 )
2003
+ goto st89;
2004
+ } else if ( (*p) > 90 ) {
2005
+ if ( 97 <= (*p) && (*p) <= 122 )
2010
2006
  goto st89;
2011
- } else if ( (*p) > 122 ) {
2012
- if ( 125 <= (*p) && (*p) <= 126 )
2013
- goto st83;
2014
2007
  } else
2015
2008
  goto st89;
2016
2009
  } else
2017
- goto st89;
2018
- goto tr120;
2010
+ goto st83;
2011
+ goto tr122;
2019
2012
  st104:
2020
2013
  if ( ++p == pe )
2021
2014
  goto _test_eof104;
@@ -2024,28 +2017,26 @@ case 104:
2024
2017
  case 33: goto st83;
2025
2018
  case 47: goto st105;
2026
2019
  case 92: goto st83;
2020
+ case 126: goto st83;
2027
2021
  }
2028
- if ( (*p) < 63 ) {
2029
- if ( (*p) < 40 ) {
2030
- if ( 36 <= (*p) && (*p) <= 37 )
2031
- goto st83;
2032
- } else if ( (*p) > 41 ) {
2033
- if ( 43 <= (*p) && (*p) <= 59 )
2022
+ if ( (*p) < 43 ) {
2023
+ if ( (*p) > 37 ) {
2024
+ if ( 40 <= (*p) && (*p) <= 41 )
2034
2025
  goto st83;
2035
- } else
2026
+ } else if ( (*p) >= 36 )
2036
2027
  goto st83;
2037
- } else if ( (*p) > 90 ) {
2038
- if ( (*p) < 97 ) {
2039
- if ( 94 <= (*p) && (*p) <= 95 )
2028
+ } else if ( (*p) > 59 ) {
2029
+ if ( (*p) < 94 ) {
2030
+ if ( 63 <= (*p) && (*p) <= 90 )
2040
2031
  goto st83;
2041
- } else if ( (*p) > 123 ) {
2042
- if ( 125 <= (*p) && (*p) <= 126 )
2032
+ } else if ( (*p) > 95 ) {
2033
+ if ( 97 <= (*p) && (*p) <= 122 )
2043
2034
  goto st83;
2044
2035
  } else
2045
2036
  goto st83;
2046
2037
  } else
2047
2038
  goto st83;
2048
- goto tr120;
2039
+ goto tr122;
2049
2040
  st105:
2050
2041
  if ( ++p == pe )
2051
2042
  goto _test_eof105;
@@ -2054,28 +2045,26 @@ case 105:
2054
2045
  case 33: goto st83;
2055
2046
  case 47: goto st106;
2056
2047
  case 92: goto st83;
2048
+ case 126: goto st83;
2057
2049
  }
2058
- if ( (*p) < 63 ) {
2059
- if ( (*p) < 40 ) {
2060
- if ( 36 <= (*p) && (*p) <= 37 )
2061
- goto st83;
2062
- } else if ( (*p) > 41 ) {
2063
- if ( 43 <= (*p) && (*p) <= 59 )
2050
+ if ( (*p) < 43 ) {
2051
+ if ( (*p) > 37 ) {
2052
+ if ( 40 <= (*p) && (*p) <= 41 )
2064
2053
  goto st83;
2065
- } else
2054
+ } else if ( (*p) >= 36 )
2066
2055
  goto st83;
2067
- } else if ( (*p) > 90 ) {
2068
- if ( (*p) < 97 ) {
2069
- if ( 94 <= (*p) && (*p) <= 95 )
2056
+ } else if ( (*p) > 59 ) {
2057
+ if ( (*p) < 94 ) {
2058
+ if ( 63 <= (*p) && (*p) <= 90 )
2070
2059
  goto st83;
2071
- } else if ( (*p) > 123 ) {
2072
- if ( 125 <= (*p) && (*p) <= 126 )
2060
+ } else if ( (*p) > 95 ) {
2061
+ if ( 97 <= (*p) && (*p) <= 122 )
2073
2062
  goto st83;
2074
2063
  } else
2075
2064
  goto st83;
2076
2065
  } else
2077
2066
  goto st83;
2078
- goto tr120;
2067
+ goto tr122;
2079
2068
  st106:
2080
2069
  if ( ++p == pe )
2081
2070
  goto _test_eof106;
@@ -2083,7 +2072,7 @@ case 106:
2083
2072
  switch( (*p) ) {
2084
2073
  case 33: goto st83;
2085
2074
  case 35: goto tr90;
2086
- case 40: goto tr157;
2075
+ case 40: goto tr159;
2087
2076
  case 41: goto st83;
2088
2077
  case 44: goto st83;
2089
2078
  case 46: goto st83;
@@ -2091,29 +2080,27 @@ case 106:
2091
2080
  case 63: goto st83;
2092
2081
  case 92: goto st83;
2093
2082
  case 94: goto st83;
2094
- case 95: goto tr157;
2095
- case 123: goto st83;
2096
- case 125: goto st83;
2097
- case 126: goto tr157;
2083
+ case 95: goto tr159;
2084
+ case 126: goto tr159;
2098
2085
  }
2099
2086
  if ( (*p) < 43 ) {
2100
2087
  if ( (*p) > 37 ) {
2101
2088
  if ( 38 <= (*p) && (*p) <= 42 )
2102
2089
  goto tr90;
2103
2090
  } else if ( (*p) >= 36 )
2104
- goto tr157;
2091
+ goto tr159;
2105
2092
  } else if ( (*p) > 57 ) {
2106
2093
  if ( (*p) < 64 ) {
2107
2094
  if ( 58 <= (*p) && (*p) <= 59 )
2108
2095
  goto st83;
2109
2096
  } else if ( (*p) > 90 ) {
2110
2097
  if ( 97 <= (*p) && (*p) <= 122 )
2111
- goto tr157;
2098
+ goto tr159;
2112
2099
  } else
2113
- goto tr157;
2100
+ goto tr159;
2114
2101
  } else
2115
- goto tr157;
2116
- goto tr120;
2102
+ goto tr159;
2103
+ goto tr122;
2117
2104
  tr90:
2118
2105
  #line 1 "wikitext_ragel.rl"
2119
2106
  {te = p+1;}
@@ -2122,7 +2109,7 @@ st107:
2122
2109
  if ( ++p == pe )
2123
2110
  goto _test_eof107;
2124
2111
  case 107:
2125
- #line 2126 "wikitext_ragel.c"
2112
+ #line 2113 "wikitext_ragel.c"
2126
2113
  switch( (*p) ) {
2127
2114
  case 33: goto st79;
2128
2115
  case 41: goto st79;
@@ -2144,7 +2131,7 @@ case 107:
2144
2131
  goto tr90;
2145
2132
  } else
2146
2133
  goto st79;
2147
- goto tr158;
2134
+ goto tr160;
2148
2135
  st79:
2149
2136
  if ( ++p == pe )
2150
2137
  goto _test_eof79;
@@ -2171,13 +2158,13 @@ case 79:
2171
2158
  } else
2172
2159
  goto st79;
2173
2160
  goto tr88;
2174
- tr159:
2161
+ tr161:
2175
2162
  #line 1 "wikitext_ragel.rl"
2176
2163
  {te = p+1;}
2177
- #line 389 "wikitext_ragel.rl"
2178
- {act = 37;}
2164
+ #line 414 "wikitext_ragel.rl"
2165
+ {act = 41;}
2179
2166
  goto st108;
2180
- tr157:
2167
+ tr159:
2181
2168
  #line 1 "wikitext_ragel.rl"
2182
2169
  {te = p+1;}
2183
2170
  #line 281 "wikitext_ragel.rl"
@@ -2187,41 +2174,39 @@ st108:
2187
2174
  if ( ++p == pe )
2188
2175
  goto _test_eof108;
2189
2176
  case 108:
2190
- #line 2191 "wikitext_ragel.c"
2177
+ #line 2178 "wikitext_ragel.c"
2191
2178
  switch( (*p) ) {
2192
- case 33: goto tr159;
2179
+ case 33: goto tr161;
2193
2180
  case 35: goto tr90;
2194
- case 40: goto tr157;
2195
- case 41: goto tr159;
2196
- case 44: goto tr159;
2197
- case 46: goto tr159;
2181
+ case 40: goto tr159;
2182
+ case 41: goto tr161;
2183
+ case 44: goto tr161;
2184
+ case 46: goto tr161;
2198
2185
  case 61: goto tr90;
2199
- case 63: goto tr159;
2186
+ case 63: goto tr161;
2200
2187
  case 92: goto st83;
2201
2188
  case 94: goto st83;
2202
- case 95: goto tr157;
2203
- case 123: goto st83;
2204
- case 125: goto st83;
2205
- case 126: goto tr157;
2189
+ case 95: goto tr159;
2190
+ case 126: goto tr159;
2206
2191
  }
2207
2192
  if ( (*p) < 43 ) {
2208
2193
  if ( (*p) > 37 ) {
2209
2194
  if ( 38 <= (*p) && (*p) <= 42 )
2210
2195
  goto tr90;
2211
2196
  } else if ( (*p) >= 36 )
2212
- goto tr157;
2197
+ goto tr159;
2213
2198
  } else if ( (*p) > 57 ) {
2214
2199
  if ( (*p) < 64 ) {
2215
2200
  if ( 58 <= (*p) && (*p) <= 59 )
2216
- goto tr159;
2201
+ goto tr161;
2217
2202
  } else if ( (*p) > 90 ) {
2218
2203
  if ( 97 <= (*p) && (*p) <= 122 )
2219
- goto tr157;
2204
+ goto tr159;
2220
2205
  } else
2221
- goto tr157;
2206
+ goto tr159;
2222
2207
  } else
2223
- goto tr157;
2224
- goto tr132;
2208
+ goto tr159;
2209
+ goto tr134;
2225
2210
  st109:
2226
2211
  if ( ++p == pe )
2227
2212
  goto _test_eof109;
@@ -2236,7 +2221,7 @@ case 109:
2236
2221
  case 94: goto st83;
2237
2222
  case 95: goto st89;
2238
2223
  case 116: goto st110;
2239
- case 123: goto st83;
2224
+ case 126: goto st83;
2240
2225
  }
2241
2226
  if ( (*p) < 45 ) {
2242
2227
  if ( (*p) < 40 ) {
@@ -2252,16 +2237,13 @@ case 109:
2252
2237
  if ( 58 <= (*p) && (*p) <= 59 )
2253
2238
  goto st83;
2254
2239
  } else if ( (*p) > 90 ) {
2255
- if ( (*p) > 122 ) {
2256
- if ( 125 <= (*p) && (*p) <= 126 )
2257
- goto st83;
2258
- } else if ( (*p) >= 97 )
2240
+ if ( 97 <= (*p) && (*p) <= 122 )
2259
2241
  goto st89;
2260
2242
  } else
2261
2243
  goto st89;
2262
2244
  } else
2263
2245
  goto st89;
2264
- goto tr120;
2246
+ goto tr122;
2265
2247
  st110:
2266
2248
  if ( ++p == pe )
2267
2249
  goto _test_eof110;
@@ -2276,7 +2258,7 @@ case 110:
2276
2258
  case 94: goto st83;
2277
2259
  case 95: goto st89;
2278
2260
  case 116: goto st111;
2279
- case 123: goto st83;
2261
+ case 126: goto st83;
2280
2262
  }
2281
2263
  if ( (*p) < 45 ) {
2282
2264
  if ( (*p) < 40 ) {
@@ -2292,16 +2274,13 @@ case 110:
2292
2274
  if ( 58 <= (*p) && (*p) <= 59 )
2293
2275
  goto st83;
2294
2276
  } else if ( (*p) > 90 ) {
2295
- if ( (*p) > 122 ) {
2296
- if ( 125 <= (*p) && (*p) <= 126 )
2297
- goto st83;
2298
- } else if ( (*p) >= 97 )
2277
+ if ( 97 <= (*p) && (*p) <= 122 )
2299
2278
  goto st89;
2300
2279
  } else
2301
2280
  goto st89;
2302
2281
  } else
2303
2282
  goto st89;
2304
- goto tr120;
2283
+ goto tr122;
2305
2284
  st111:
2306
2285
  if ( ++p == pe )
2307
2286
  goto _test_eof111;
@@ -2316,7 +2295,7 @@ case 111:
2316
2295
  case 94: goto st83;
2317
2296
  case 95: goto st89;
2318
2297
  case 112: goto st112;
2319
- case 123: goto st83;
2298
+ case 126: goto st83;
2320
2299
  }
2321
2300
  if ( (*p) < 45 ) {
2322
2301
  if ( (*p) < 40 ) {
@@ -2332,16 +2311,13 @@ case 111:
2332
2311
  if ( 58 <= (*p) && (*p) <= 59 )
2333
2312
  goto st83;
2334
2313
  } else if ( (*p) > 90 ) {
2335
- if ( (*p) > 122 ) {
2336
- if ( 125 <= (*p) && (*p) <= 126 )
2337
- goto st83;
2338
- } else if ( (*p) >= 97 )
2314
+ if ( 97 <= (*p) && (*p) <= 122 )
2339
2315
  goto st89;
2340
2316
  } else
2341
2317
  goto st89;
2342
2318
  } else
2343
2319
  goto st89;
2344
- goto tr120;
2320
+ goto tr122;
2345
2321
  st112:
2346
2322
  if ( ++p == pe )
2347
2323
  goto _test_eof112;
@@ -2358,29 +2334,26 @@ case 112:
2358
2334
  case 94: goto st83;
2359
2335
  case 95: goto st89;
2360
2336
  case 115: goto st103;
2361
- case 123: goto st83;
2337
+ case 126: goto st83;
2362
2338
  }
2363
- if ( (*p) < 45 ) {
2364
- if ( (*p) < 40 ) {
2365
- if ( 36 <= (*p) && (*p) <= 37 )
2366
- goto st83;
2367
- } else if ( (*p) > 41 ) {
2368
- if ( 43 <= (*p) && (*p) <= 44 )
2339
+ if ( (*p) < 43 ) {
2340
+ if ( (*p) > 37 ) {
2341
+ if ( 40 <= (*p) && (*p) <= 41 )
2369
2342
  goto st83;
2370
- } else
2343
+ } else if ( (*p) >= 36 )
2371
2344
  goto st83;
2372
- } else if ( (*p) > 57 ) {
2373
- if ( (*p) < 97 ) {
2374
- if ( 65 <= (*p) && (*p) <= 90 )
2345
+ } else if ( (*p) > 44 ) {
2346
+ if ( (*p) < 65 ) {
2347
+ if ( 45 <= (*p) && (*p) <= 57 )
2348
+ goto st89;
2349
+ } else if ( (*p) > 90 ) {
2350
+ if ( 97 <= (*p) && (*p) <= 122 )
2375
2351
  goto st89;
2376
- } else if ( (*p) > 122 ) {
2377
- if ( 125 <= (*p) && (*p) <= 126 )
2378
- goto st83;
2379
2352
  } else
2380
2353
  goto st89;
2381
2354
  } else
2382
- goto st89;
2383
- goto tr120;
2355
+ goto st83;
2356
+ goto tr122;
2384
2357
  st113:
2385
2358
  if ( ++p == pe )
2386
2359
  goto _test_eof113;
@@ -2395,7 +2368,7 @@ case 113:
2395
2368
  case 94: goto st83;
2396
2369
  case 95: goto st89;
2397
2370
  case 97: goto st114;
2398
- case 123: goto st83;
2371
+ case 126: goto st83;
2399
2372
  }
2400
2373
  if ( (*p) < 45 ) {
2401
2374
  if ( (*p) < 40 ) {
@@ -2411,16 +2384,13 @@ case 113:
2411
2384
  if ( 58 <= (*p) && (*p) <= 59 )
2412
2385
  goto st83;
2413
2386
  } else if ( (*p) > 90 ) {
2414
- if ( (*p) > 122 ) {
2415
- if ( 125 <= (*p) && (*p) <= 126 )
2416
- goto st83;
2417
- } else if ( (*p) >= 98 )
2387
+ if ( 98 <= (*p) && (*p) <= 122 )
2418
2388
  goto st89;
2419
2389
  } else
2420
2390
  goto st89;
2421
2391
  } else
2422
2392
  goto st89;
2423
- goto tr120;
2393
+ goto tr122;
2424
2394
  st114:
2425
2395
  if ( ++p == pe )
2426
2396
  goto _test_eof114;
@@ -2435,7 +2405,7 @@ case 114:
2435
2405
  case 94: goto st83;
2436
2406
  case 95: goto st89;
2437
2407
  case 105: goto st115;
2438
- case 123: goto st83;
2408
+ case 126: goto st83;
2439
2409
  }
2440
2410
  if ( (*p) < 45 ) {
2441
2411
  if ( (*p) < 40 ) {
@@ -2451,16 +2421,13 @@ case 114:
2451
2421
  if ( 58 <= (*p) && (*p) <= 59 )
2452
2422
  goto st83;
2453
2423
  } else if ( (*p) > 90 ) {
2454
- if ( (*p) > 122 ) {
2455
- if ( 125 <= (*p) && (*p) <= 126 )
2456
- goto st83;
2457
- } else if ( (*p) >= 97 )
2424
+ if ( 97 <= (*p) && (*p) <= 122 )
2458
2425
  goto st89;
2459
2426
  } else
2460
2427
  goto st89;
2461
2428
  } else
2462
2429
  goto st89;
2463
- goto tr120;
2430
+ goto tr122;
2464
2431
  st115:
2465
2432
  if ( ++p == pe )
2466
2433
  goto _test_eof115;
@@ -2475,7 +2442,7 @@ case 115:
2475
2442
  case 94: goto st83;
2476
2443
  case 95: goto st89;
2477
2444
  case 108: goto st116;
2478
- case 123: goto st83;
2445
+ case 126: goto st83;
2479
2446
  }
2480
2447
  if ( (*p) < 45 ) {
2481
2448
  if ( (*p) < 40 ) {
@@ -2491,16 +2458,13 @@ case 115:
2491
2458
  if ( 58 <= (*p) && (*p) <= 59 )
2492
2459
  goto st83;
2493
2460
  } else if ( (*p) > 90 ) {
2494
- if ( (*p) > 122 ) {
2495
- if ( 125 <= (*p) && (*p) <= 126 )
2496
- goto st83;
2497
- } else if ( (*p) >= 97 )
2461
+ if ( 97 <= (*p) && (*p) <= 122 )
2498
2462
  goto st89;
2499
2463
  } else
2500
2464
  goto st89;
2501
2465
  } else
2502
2466
  goto st89;
2503
- goto tr120;
2467
+ goto tr122;
2504
2468
  st116:
2505
2469
  if ( ++p == pe )
2506
2470
  goto _test_eof116;
@@ -2515,7 +2479,7 @@ case 116:
2515
2479
  case 94: goto st83;
2516
2480
  case 95: goto st89;
2517
2481
  case 116: goto st117;
2518
- case 123: goto st83;
2482
+ case 126: goto st83;
2519
2483
  }
2520
2484
  if ( (*p) < 45 ) {
2521
2485
  if ( (*p) < 40 ) {
@@ -2531,16 +2495,13 @@ case 116:
2531
2495
  if ( 58 <= (*p) && (*p) <= 59 )
2532
2496
  goto st83;
2533
2497
  } else if ( (*p) > 90 ) {
2534
- if ( (*p) > 122 ) {
2535
- if ( 125 <= (*p) && (*p) <= 126 )
2536
- goto st83;
2537
- } else if ( (*p) >= 97 )
2498
+ if ( 97 <= (*p) && (*p) <= 122 )
2538
2499
  goto st89;
2539
2500
  } else
2540
2501
  goto st89;
2541
2502
  } else
2542
2503
  goto st89;
2543
- goto tr120;
2504
+ goto tr122;
2544
2505
  st117:
2545
2506
  if ( ++p == pe )
2546
2507
  goto _test_eof117;
@@ -2555,7 +2516,7 @@ case 117:
2555
2516
  case 94: goto st83;
2556
2517
  case 95: goto st89;
2557
2518
  case 111: goto st118;
2558
- case 123: goto st83;
2519
+ case 126: goto st83;
2559
2520
  }
2560
2521
  if ( (*p) < 45 ) {
2561
2522
  if ( (*p) < 40 ) {
@@ -2571,16 +2532,13 @@ case 117:
2571
2532
  if ( 58 <= (*p) && (*p) <= 59 )
2572
2533
  goto st83;
2573
2534
  } else if ( (*p) > 90 ) {
2574
- if ( (*p) > 122 ) {
2575
- if ( 125 <= (*p) && (*p) <= 126 )
2576
- goto st83;
2577
- } else if ( (*p) >= 97 )
2535
+ if ( 97 <= (*p) && (*p) <= 122 )
2578
2536
  goto st89;
2579
2537
  } else
2580
2538
  goto st89;
2581
2539
  } else
2582
2540
  goto st89;
2583
- goto tr120;
2541
+ goto tr122;
2584
2542
  st118:
2585
2543
  if ( ++p == pe )
2586
2544
  goto _test_eof118;
@@ -2595,29 +2553,26 @@ case 118:
2595
2553
  case 92: goto st83;
2596
2554
  case 94: goto st83;
2597
2555
  case 95: goto st89;
2598
- case 123: goto st83;
2556
+ case 126: goto st83;
2599
2557
  }
2600
- if ( (*p) < 45 ) {
2601
- if ( (*p) < 40 ) {
2602
- if ( 36 <= (*p) && (*p) <= 37 )
2603
- goto st83;
2604
- } else if ( (*p) > 41 ) {
2605
- if ( 43 <= (*p) && (*p) <= 44 )
2558
+ if ( (*p) < 43 ) {
2559
+ if ( (*p) > 37 ) {
2560
+ if ( 40 <= (*p) && (*p) <= 41 )
2606
2561
  goto st83;
2607
- } else
2562
+ } else if ( (*p) >= 36 )
2608
2563
  goto st83;
2609
- } else if ( (*p) > 57 ) {
2610
- if ( (*p) < 97 ) {
2611
- if ( 65 <= (*p) && (*p) <= 90 )
2564
+ } else if ( (*p) > 44 ) {
2565
+ if ( (*p) < 65 ) {
2566
+ if ( 45 <= (*p) && (*p) <= 57 )
2567
+ goto st89;
2568
+ } else if ( (*p) > 90 ) {
2569
+ if ( 97 <= (*p) && (*p) <= 122 )
2612
2570
  goto st89;
2613
- } else if ( (*p) > 122 ) {
2614
- if ( 125 <= (*p) && (*p) <= 126 )
2615
- goto st83;
2616
2571
  } else
2617
2572
  goto st89;
2618
2573
  } else
2619
- goto st89;
2620
- goto tr120;
2574
+ goto st83;
2575
+ goto tr122;
2621
2576
  st119:
2622
2577
  if ( ++p == pe )
2623
2578
  goto _test_eof119;
@@ -2628,35 +2583,32 @@ case 119:
2628
2583
  case 92: goto st83;
2629
2584
  case 94: goto st83;
2630
2585
  case 95: goto st120;
2631
- case 123: goto st83;
2586
+ case 126: goto st83;
2632
2587
  }
2633
- if ( (*p) < 58 ) {
2588
+ if ( (*p) < 45 ) {
2634
2589
  if ( (*p) < 40 ) {
2635
2590
  if ( 36 <= (*p) && (*p) <= 37 )
2636
2591
  goto st83;
2637
2592
  } else if ( (*p) > 41 ) {
2638
- if ( (*p) > 44 ) {
2639
- if ( 45 <= (*p) && (*p) <= 57 )
2640
- goto st120;
2641
- } else if ( (*p) >= 43 )
2593
+ if ( 43 <= (*p) && (*p) <= 44 )
2642
2594
  goto st83;
2643
2595
  } else
2644
2596
  goto st83;
2645
- } else if ( (*p) > 59 ) {
2646
- if ( (*p) < 65 ) {
2647
- if ( 63 <= (*p) && (*p) <= 64 )
2597
+ } else if ( (*p) > 57 ) {
2598
+ if ( (*p) < 63 ) {
2599
+ if ( 58 <= (*p) && (*p) <= 59 )
2648
2600
  goto st83;
2649
- } else if ( (*p) > 90 ) {
2650
- if ( (*p) > 122 ) {
2651
- if ( 125 <= (*p) && (*p) <= 126 )
2652
- goto st83;
2653
- } else if ( (*p) >= 97 )
2601
+ } else if ( (*p) > 64 ) {
2602
+ if ( (*p) > 90 ) {
2603
+ if ( 97 <= (*p) && (*p) <= 122 )
2604
+ goto st120;
2605
+ } else if ( (*p) >= 65 )
2654
2606
  goto st120;
2655
2607
  } else
2656
- goto st120;
2608
+ goto st83;
2657
2609
  } else
2658
- goto st83;
2659
- goto tr120;
2610
+ goto st120;
2611
+ goto tr122;
2660
2612
  st120:
2661
2613
  if ( ++p == pe )
2662
2614
  goto _test_eof120;
@@ -2669,7 +2621,7 @@ case 120:
2669
2621
  case 92: goto st83;
2670
2622
  case 94: goto st83;
2671
2623
  case 95: goto st120;
2672
- case 123: goto st83;
2624
+ case 126: goto st83;
2673
2625
  }
2674
2626
  if ( (*p) < 45 ) {
2675
2627
  if ( (*p) < 40 ) {
@@ -2685,16 +2637,13 @@ case 120:
2685
2637
  if ( 58 <= (*p) && (*p) <= 59 )
2686
2638
  goto st83;
2687
2639
  } else if ( (*p) > 90 ) {
2688
- if ( (*p) > 122 ) {
2689
- if ( 125 <= (*p) && (*p) <= 126 )
2690
- goto st83;
2691
- } else if ( (*p) >= 97 )
2640
+ if ( 97 <= (*p) && (*p) <= 122 )
2692
2641
  goto st120;
2693
2642
  } else
2694
2643
  goto st120;
2695
2644
  } else
2696
2645
  goto st120;
2697
- goto tr120;
2646
+ goto tr122;
2698
2647
  st121:
2699
2648
  if ( ++p == pe )
2700
2649
  goto _test_eof121;
@@ -2702,7 +2651,7 @@ case 121:
2702
2651
  switch( (*p) ) {
2703
2652
  case 33: goto st83;
2704
2653
  case 92: goto st83;
2705
- case 123: goto st83;
2654
+ case 126: goto st83;
2706
2655
  }
2707
2656
  if ( (*p) < 58 ) {
2708
2657
  if ( (*p) < 40 ) {
@@ -2711,36 +2660,33 @@ case 121:
2711
2660
  } else if ( (*p) > 41 ) {
2712
2661
  if ( (*p) > 47 ) {
2713
2662
  if ( 48 <= (*p) && (*p) <= 57 )
2714
- goto tr171;
2663
+ goto tr173;
2715
2664
  } else if ( (*p) >= 43 )
2716
2665
  goto st83;
2717
2666
  } else
2718
2667
  goto st83;
2719
2668
  } else if ( (*p) > 59 ) {
2720
- if ( (*p) < 94 ) {
2721
- if ( (*p) > 64 ) {
2722
- if ( 65 <= (*p) && (*p) <= 90 )
2723
- goto tr171;
2724
- } else if ( (*p) >= 63 )
2669
+ if ( (*p) < 65 ) {
2670
+ if ( 63 <= (*p) && (*p) <= 64 )
2671
+ goto st83;
2672
+ } else if ( (*p) > 90 ) {
2673
+ if ( (*p) > 95 ) {
2674
+ if ( 97 <= (*p) && (*p) <= 122 )
2675
+ goto tr173;
2676
+ } else if ( (*p) >= 94 )
2725
2677
  goto st83;
2726
- } else if ( (*p) > 95 ) {
2727
- if ( (*p) > 122 ) {
2728
- if ( 125 <= (*p) && (*p) <= 126 )
2729
- goto st83;
2730
- } else if ( (*p) >= 97 )
2731
- goto tr171;
2732
2678
  } else
2733
- goto st83;
2679
+ goto tr173;
2734
2680
  } else
2735
2681
  goto st83;
2736
- goto tr120;
2737
- tr171:
2682
+ goto tr122;
2683
+ tr173:
2738
2684
  #line 1 "wikitext_ragel.rl"
2739
2685
  {te = p+1;}
2740
- #line 389 "wikitext_ragel.rl"
2741
- {act = 37;}
2686
+ #line 414 "wikitext_ragel.rl"
2687
+ {act = 41;}
2742
2688
  goto st122;
2743
- tr177:
2689
+ tr179:
2744
2690
  #line 1 "wikitext_ragel.rl"
2745
2691
  {te = p+1;}
2746
2692
  #line 281 "wikitext_ragel.rl"
@@ -2750,12 +2696,12 @@ st122:
2750
2696
  if ( ++p == pe )
2751
2697
  goto _test_eof122;
2752
2698
  case 122:
2753
- #line 2754 "wikitext_ragel.c"
2699
+ #line 2700 "wikitext_ragel.c"
2754
2700
  switch( (*p) ) {
2755
2701
  case 33: goto st83;
2756
2702
  case 46: goto st123;
2757
2703
  case 92: goto st83;
2758
- case 123: goto st83;
2704
+ case 126: goto st83;
2759
2705
  }
2760
2706
  if ( (*p) < 58 ) {
2761
2707
  if ( (*p) < 40 ) {
@@ -2764,29 +2710,26 @@ case 122:
2764
2710
  } else if ( (*p) > 41 ) {
2765
2711
  if ( (*p) > 47 ) {
2766
2712
  if ( 48 <= (*p) && (*p) <= 57 )
2767
- goto tr171;
2713
+ goto tr173;
2768
2714
  } else if ( (*p) >= 43 )
2769
2715
  goto st83;
2770
2716
  } else
2771
2717
  goto st83;
2772
2718
  } else if ( (*p) > 59 ) {
2773
- if ( (*p) < 94 ) {
2774
- if ( (*p) > 64 ) {
2775
- if ( 65 <= (*p) && (*p) <= 90 )
2776
- goto tr171;
2777
- } else if ( (*p) >= 63 )
2719
+ if ( (*p) < 65 ) {
2720
+ if ( 63 <= (*p) && (*p) <= 64 )
2721
+ goto st83;
2722
+ } else if ( (*p) > 90 ) {
2723
+ if ( (*p) > 95 ) {
2724
+ if ( 97 <= (*p) && (*p) <= 122 )
2725
+ goto tr173;
2726
+ } else if ( (*p) >= 94 )
2778
2727
  goto st83;
2779
- } else if ( (*p) > 95 ) {
2780
- if ( (*p) > 122 ) {
2781
- if ( 125 <= (*p) && (*p) <= 126 )
2782
- goto st83;
2783
- } else if ( (*p) >= 97 )
2784
- goto tr171;
2785
2728
  } else
2786
- goto st83;
2729
+ goto tr173;
2787
2730
  } else
2788
2731
  goto st83;
2789
- goto tr132;
2732
+ goto tr134;
2790
2733
  st123:
2791
2734
  if ( ++p == pe )
2792
2735
  goto _test_eof123;
@@ -2794,7 +2737,7 @@ case 123:
2794
2737
  switch( (*p) ) {
2795
2738
  case 33: goto st83;
2796
2739
  case 92: goto st83;
2797
- case 123: goto st83;
2740
+ case 126: goto st83;
2798
2741
  }
2799
2742
  if ( (*p) < 58 ) {
2800
2743
  if ( (*p) < 40 ) {
@@ -2803,29 +2746,26 @@ case 123:
2803
2746
  } else if ( (*p) > 41 ) {
2804
2747
  if ( (*p) > 47 ) {
2805
2748
  if ( 48 <= (*p) && (*p) <= 57 )
2806
- goto tr171;
2749
+ goto tr173;
2807
2750
  } else if ( (*p) >= 43 )
2808
2751
  goto st83;
2809
2752
  } else
2810
2753
  goto st83;
2811
2754
  } else if ( (*p) > 59 ) {
2812
- if ( (*p) < 94 ) {
2813
- if ( (*p) > 64 ) {
2814
- if ( 65 <= (*p) && (*p) <= 90 )
2755
+ if ( (*p) < 65 ) {
2756
+ if ( 63 <= (*p) && (*p) <= 64 )
2757
+ goto st83;
2758
+ } else if ( (*p) > 90 ) {
2759
+ if ( (*p) > 95 ) {
2760
+ if ( 97 <= (*p) && (*p) <= 122 )
2815
2761
  goto st124;
2816
- } else if ( (*p) >= 63 )
2762
+ } else if ( (*p) >= 94 )
2817
2763
  goto st83;
2818
- } else if ( (*p) > 95 ) {
2819
- if ( (*p) > 122 ) {
2820
- if ( 125 <= (*p) && (*p) <= 126 )
2821
- goto st83;
2822
- } else if ( (*p) >= 97 )
2823
- goto st124;
2824
2764
  } else
2825
- goto st83;
2765
+ goto st124;
2826
2766
  } else
2827
2767
  goto st83;
2828
- goto tr120;
2768
+ goto tr122;
2829
2769
  st124:
2830
2770
  if ( ++p == pe )
2831
2771
  goto _test_eof124;
@@ -2834,7 +2774,7 @@ case 124:
2834
2774
  case 33: goto st83;
2835
2775
  case 46: goto st123;
2836
2776
  case 92: goto st83;
2837
- case 123: goto st83;
2777
+ case 126: goto st83;
2838
2778
  }
2839
2779
  if ( (*p) < 58 ) {
2840
2780
  if ( (*p) < 40 ) {
@@ -2843,29 +2783,26 @@ case 124:
2843
2783
  } else if ( (*p) > 41 ) {
2844
2784
  if ( (*p) > 47 ) {
2845
2785
  if ( 48 <= (*p) && (*p) <= 57 )
2846
- goto tr171;
2786
+ goto tr173;
2847
2787
  } else if ( (*p) >= 43 )
2848
2788
  goto st83;
2849
2789
  } else
2850
2790
  goto st83;
2851
2791
  } else if ( (*p) > 59 ) {
2852
- if ( (*p) < 94 ) {
2853
- if ( (*p) > 64 ) {
2854
- if ( 65 <= (*p) && (*p) <= 90 )
2792
+ if ( (*p) < 65 ) {
2793
+ if ( 63 <= (*p) && (*p) <= 64 )
2794
+ goto st83;
2795
+ } else if ( (*p) > 90 ) {
2796
+ if ( (*p) > 95 ) {
2797
+ if ( 97 <= (*p) && (*p) <= 122 )
2855
2798
  goto st125;
2856
- } else if ( (*p) >= 63 )
2799
+ } else if ( (*p) >= 94 )
2857
2800
  goto st83;
2858
- } else if ( (*p) > 95 ) {
2859
- if ( (*p) > 122 ) {
2860
- if ( 125 <= (*p) && (*p) <= 126 )
2861
- goto st83;
2862
- } else if ( (*p) >= 97 )
2863
- goto st125;
2864
2801
  } else
2865
- goto st83;
2802
+ goto st125;
2866
2803
  } else
2867
2804
  goto st83;
2868
- goto tr120;
2805
+ goto tr122;
2869
2806
  st125:
2870
2807
  if ( ++p == pe )
2871
2808
  goto _test_eof125;
@@ -2874,7 +2811,7 @@ case 125:
2874
2811
  case 33: goto st83;
2875
2812
  case 46: goto st123;
2876
2813
  case 92: goto st83;
2877
- case 123: goto st83;
2814
+ case 126: goto st83;
2878
2815
  }
2879
2816
  if ( (*p) < 58 ) {
2880
2817
  if ( (*p) < 40 ) {
@@ -2883,29 +2820,26 @@ case 125:
2883
2820
  } else if ( (*p) > 41 ) {
2884
2821
  if ( (*p) > 47 ) {
2885
2822
  if ( 48 <= (*p) && (*p) <= 57 )
2886
- goto tr171;
2823
+ goto tr173;
2887
2824
  } else if ( (*p) >= 43 )
2888
2825
  goto st83;
2889
2826
  } else
2890
2827
  goto st83;
2891
2828
  } else if ( (*p) > 59 ) {
2892
- if ( (*p) < 94 ) {
2893
- if ( (*p) > 64 ) {
2894
- if ( 65 <= (*p) && (*p) <= 90 )
2829
+ if ( (*p) < 65 ) {
2830
+ if ( 63 <= (*p) && (*p) <= 64 )
2831
+ goto st83;
2832
+ } else if ( (*p) > 90 ) {
2833
+ if ( (*p) > 95 ) {
2834
+ if ( 97 <= (*p) && (*p) <= 122 )
2895
2835
  goto st126;
2896
- } else if ( (*p) >= 63 )
2836
+ } else if ( (*p) >= 94 )
2897
2837
  goto st83;
2898
- } else if ( (*p) > 95 ) {
2899
- if ( (*p) > 122 ) {
2900
- if ( 125 <= (*p) && (*p) <= 126 )
2901
- goto st83;
2902
- } else if ( (*p) >= 97 )
2903
- goto st126;
2904
2838
  } else
2905
- goto st83;
2839
+ goto st126;
2906
2840
  } else
2907
2841
  goto st83;
2908
- goto tr158;
2842
+ goto tr160;
2909
2843
  st126:
2910
2844
  if ( ++p == pe )
2911
2845
  goto _test_eof126;
@@ -2914,7 +2848,7 @@ case 126:
2914
2848
  case 33: goto st83;
2915
2849
  case 46: goto st123;
2916
2850
  case 92: goto st83;
2917
- case 123: goto st83;
2851
+ case 126: goto st83;
2918
2852
  }
2919
2853
  if ( (*p) < 58 ) {
2920
2854
  if ( (*p) < 40 ) {
@@ -2923,29 +2857,26 @@ case 126:
2923
2857
  } else if ( (*p) > 41 ) {
2924
2858
  if ( (*p) > 47 ) {
2925
2859
  if ( 48 <= (*p) && (*p) <= 57 )
2926
- goto tr171;
2860
+ goto tr173;
2927
2861
  } else if ( (*p) >= 43 )
2928
2862
  goto st83;
2929
2863
  } else
2930
2864
  goto st83;
2931
2865
  } else if ( (*p) > 59 ) {
2932
- if ( (*p) < 94 ) {
2933
- if ( (*p) > 64 ) {
2934
- if ( 65 <= (*p) && (*p) <= 90 )
2866
+ if ( (*p) < 65 ) {
2867
+ if ( 63 <= (*p) && (*p) <= 64 )
2868
+ goto st83;
2869
+ } else if ( (*p) > 90 ) {
2870
+ if ( (*p) > 95 ) {
2871
+ if ( 97 <= (*p) && (*p) <= 122 )
2935
2872
  goto st127;
2936
- } else if ( (*p) >= 63 )
2873
+ } else if ( (*p) >= 94 )
2937
2874
  goto st83;
2938
- } else if ( (*p) > 95 ) {
2939
- if ( (*p) > 122 ) {
2940
- if ( 125 <= (*p) && (*p) <= 126 )
2941
- goto st83;
2942
- } else if ( (*p) >= 97 )
2943
- goto st127;
2944
2875
  } else
2945
- goto st83;
2876
+ goto st127;
2946
2877
  } else
2947
2878
  goto st83;
2948
- goto tr158;
2879
+ goto tr160;
2949
2880
  st127:
2950
2881
  if ( ++p == pe )
2951
2882
  goto _test_eof127;
@@ -2954,7 +2885,7 @@ case 127:
2954
2885
  case 33: goto st83;
2955
2886
  case 46: goto st123;
2956
2887
  case 92: goto st83;
2957
- case 123: goto st83;
2888
+ case 126: goto st83;
2958
2889
  }
2959
2890
  if ( (*p) < 58 ) {
2960
2891
  if ( (*p) < 40 ) {
@@ -2963,29 +2894,26 @@ case 127:
2963
2894
  } else if ( (*p) > 41 ) {
2964
2895
  if ( (*p) > 47 ) {
2965
2896
  if ( 48 <= (*p) && (*p) <= 57 )
2966
- goto tr171;
2897
+ goto tr173;
2967
2898
  } else if ( (*p) >= 43 )
2968
2899
  goto st83;
2969
2900
  } else
2970
2901
  goto st83;
2971
2902
  } else if ( (*p) > 59 ) {
2972
- if ( (*p) < 94 ) {
2973
- if ( (*p) > 64 ) {
2974
- if ( 65 <= (*p) && (*p) <= 90 )
2975
- goto tr177;
2976
- } else if ( (*p) >= 63 )
2903
+ if ( (*p) < 65 ) {
2904
+ if ( 63 <= (*p) && (*p) <= 64 )
2905
+ goto st83;
2906
+ } else if ( (*p) > 90 ) {
2907
+ if ( (*p) > 95 ) {
2908
+ if ( 97 <= (*p) && (*p) <= 122 )
2909
+ goto tr179;
2910
+ } else if ( (*p) >= 94 )
2977
2911
  goto st83;
2978
- } else if ( (*p) > 95 ) {
2979
- if ( (*p) > 122 ) {
2980
- if ( 125 <= (*p) && (*p) <= 126 )
2981
- goto st83;
2982
- } else if ( (*p) >= 97 )
2983
- goto tr177;
2984
2912
  } else
2985
- goto st83;
2913
+ goto tr179;
2986
2914
  } else
2987
2915
  goto st83;
2988
- goto tr158;
2916
+ goto tr160;
2989
2917
  st128:
2990
2918
  if ( ++p == pe )
2991
2919
  goto _test_eof128;
@@ -3000,7 +2928,7 @@ case 128:
3000
2928
  case 94: goto st83;
3001
2929
  case 95: goto st89;
3002
2930
  case 118: goto st129;
3003
- case 123: goto st83;
2931
+ case 126: goto st83;
3004
2932
  }
3005
2933
  if ( (*p) < 45 ) {
3006
2934
  if ( (*p) < 40 ) {
@@ -3016,16 +2944,13 @@ case 128:
3016
2944
  if ( 58 <= (*p) && (*p) <= 59 )
3017
2945
  goto st83;
3018
2946
  } else if ( (*p) > 90 ) {
3019
- if ( (*p) > 122 ) {
3020
- if ( 125 <= (*p) && (*p) <= 126 )
3021
- goto st83;
3022
- } else if ( (*p) >= 97 )
2947
+ if ( 97 <= (*p) && (*p) <= 122 )
3023
2948
  goto st89;
3024
2949
  } else
3025
2950
  goto st89;
3026
2951
  } else
3027
2952
  goto st89;
3028
- goto tr120;
2953
+ goto tr122;
3029
2954
  st129:
3030
2955
  if ( ++p == pe )
3031
2956
  goto _test_eof129;
@@ -3040,7 +2965,7 @@ case 129:
3040
2965
  case 94: goto st83;
3041
2966
  case 95: goto st89;
3042
2967
  case 110: goto st103;
3043
- case 123: goto st83;
2968
+ case 126: goto st83;
3044
2969
  }
3045
2970
  if ( (*p) < 45 ) {
3046
2971
  if ( (*p) < 40 ) {
@@ -3056,30 +2981,41 @@ case 129:
3056
2981
  if ( 58 <= (*p) && (*p) <= 59 )
3057
2982
  goto st83;
3058
2983
  } else if ( (*p) > 90 ) {
3059
- if ( (*p) > 122 ) {
3060
- if ( 125 <= (*p) && (*p) <= 126 )
3061
- goto st83;
3062
- } else if ( (*p) >= 97 )
2984
+ if ( 97 <= (*p) && (*p) <= 122 )
3063
2985
  goto st89;
3064
2986
  } else
3065
2987
  goto st89;
3066
2988
  } else
3067
2989
  goto st89;
3068
- goto tr120;
2990
+ goto tr122;
3069
2991
  st130:
3070
2992
  if ( ++p == pe )
3071
2993
  goto _test_eof130;
3072
2994
  case 130:
3073
2995
  if ( (*p) == 91 )
3074
- goto tr180;
3075
- goto tr179;
2996
+ goto tr182;
2997
+ goto tr181;
3076
2998
  st131:
3077
2999
  if ( ++p == pe )
3078
3000
  goto _test_eof131;
3079
3001
  case 131:
3080
3002
  if ( (*p) == 93 )
3081
- goto tr182;
3082
- goto tr181;
3003
+ goto tr184;
3004
+ goto tr183;
3005
+ st132:
3006
+ if ( ++p == pe )
3007
+ goto _test_eof132;
3008
+ case 132:
3009
+ if ( (*p) == 123 )
3010
+ goto tr186;
3011
+ goto tr185;
3012
+ st133:
3013
+ if ( ++p == pe )
3014
+ goto _test_eof133;
3015
+ case 133:
3016
+ if ( (*p) == 125 )
3017
+ goto tr188;
3018
+ goto tr187;
3083
3019
  }
3084
3020
  _test_eof80: cs = 80; goto _test_eof;
3085
3021
  _test_eof1: cs = 1; goto _test_eof;
@@ -3212,15 +3148,17 @@ case 131:
3212
3148
  _test_eof129: cs = 129; goto _test_eof;
3213
3149
  _test_eof130: cs = 130; goto _test_eof;
3214
3150
  _test_eof131: cs = 131; goto _test_eof;
3151
+ _test_eof132: cs = 132; goto _test_eof;
3152
+ _test_eof133: cs = 133; goto _test_eof;
3215
3153
 
3216
3154
  _test_eof: {}
3217
3155
  if ( p == eof )
3218
3156
  {
3219
3157
  switch ( cs ) {
3220
- case 81: goto tr116;
3221
- case 82: goto tr118;
3222
- case 83: goto tr120;
3223
- case 84: goto tr121;
3158
+ case 81: goto tr118;
3159
+ case 82: goto tr120;
3160
+ case 83: goto tr122;
3161
+ case 84: goto tr123;
3224
3162
  case 7: goto tr7;
3225
3163
  case 8: goto tr7;
3226
3164
  case 9: goto tr7;
@@ -3234,19 +3172,19 @@ case 131:
3234
3172
  case 17: goto tr7;
3235
3173
  case 18: goto tr7;
3236
3174
  case 19: goto tr7;
3237
- case 85: goto tr125;
3238
- case 86: goto tr125;
3239
- case 87: goto tr125;
3240
- case 88: goto tr125;
3241
- case 89: goto tr120;
3242
- case 90: goto tr120;
3243
- case 91: goto tr132;
3244
- case 92: goto tr120;
3245
- case 93: goto tr120;
3246
- case 94: goto tr136;
3247
- case 95: goto tr136;
3248
- case 96: goto tr136;
3249
- case 97: goto tr140;
3175
+ case 85: goto tr127;
3176
+ case 86: goto tr127;
3177
+ case 87: goto tr127;
3178
+ case 88: goto tr127;
3179
+ case 89: goto tr122;
3180
+ case 90: goto tr122;
3181
+ case 91: goto tr134;
3182
+ case 92: goto tr122;
3183
+ case 93: goto tr122;
3184
+ case 94: goto tr138;
3185
+ case 95: goto tr138;
3186
+ case 96: goto tr138;
3187
+ case 97: goto tr142;
3250
3188
  case 20: goto tr23;
3251
3189
  case 21: goto tr23;
3252
3190
  case 22: goto tr23;
@@ -3306,47 +3244,49 @@ case 131:
3306
3244
  case 76: goto tr23;
3307
3245
  case 77: goto tr23;
3308
3246
  case 78: goto tr23;
3309
- case 98: goto tr148;
3310
- case 99: goto tr148;
3311
- case 100: goto tr150;
3312
- case 101: goto tr120;
3313
- case 102: goto tr120;
3314
- case 103: goto tr120;
3315
- case 104: goto tr120;
3316
- case 105: goto tr120;
3317
- case 106: goto tr120;
3318
- case 107: goto tr158;
3247
+ case 98: goto tr150;
3248
+ case 99: goto tr150;
3249
+ case 100: goto tr152;
3250
+ case 101: goto tr122;
3251
+ case 102: goto tr122;
3252
+ case 103: goto tr122;
3253
+ case 104: goto tr122;
3254
+ case 105: goto tr122;
3255
+ case 106: goto tr122;
3256
+ case 107: goto tr160;
3319
3257
  case 79: goto tr88;
3320
- case 108: goto tr132;
3321
- case 109: goto tr120;
3322
- case 110: goto tr120;
3323
- case 111: goto tr120;
3324
- case 112: goto tr120;
3325
- case 113: goto tr120;
3326
- case 114: goto tr120;
3327
- case 115: goto tr120;
3328
- case 116: goto tr120;
3329
- case 117: goto tr120;
3330
- case 118: goto tr120;
3331
- case 119: goto tr120;
3332
- case 120: goto tr120;
3333
- case 121: goto tr120;
3334
- case 122: goto tr132;
3335
- case 123: goto tr120;
3336
- case 124: goto tr120;
3337
- case 125: goto tr158;
3338
- case 126: goto tr158;
3339
- case 127: goto tr158;
3340
- case 128: goto tr120;
3341
- case 129: goto tr120;
3342
- case 130: goto tr179;
3343
- case 131: goto tr181;
3258
+ case 108: goto tr134;
3259
+ case 109: goto tr122;
3260
+ case 110: goto tr122;
3261
+ case 111: goto tr122;
3262
+ case 112: goto tr122;
3263
+ case 113: goto tr122;
3264
+ case 114: goto tr122;
3265
+ case 115: goto tr122;
3266
+ case 116: goto tr122;
3267
+ case 117: goto tr122;
3268
+ case 118: goto tr122;
3269
+ case 119: goto tr122;
3270
+ case 120: goto tr122;
3271
+ case 121: goto tr122;
3272
+ case 122: goto tr134;
3273
+ case 123: goto tr122;
3274
+ case 124: goto tr122;
3275
+ case 125: goto tr160;
3276
+ case 126: goto tr160;
3277
+ case 127: goto tr160;
3278
+ case 128: goto tr122;
3279
+ case 129: goto tr122;
3280
+ case 130: goto tr181;
3281
+ case 131: goto tr183;
3282
+ case 132: goto tr185;
3283
+ case 133: goto tr187;
3344
3284
  }
3345
3285
  }
3346
3286
 
3347
3287
  _out: {}
3348
3288
  }
3349
- #line 461 "wikitext_ragel.rl"
3289
+ #line 486 "wikitext_ragel.rl"
3350
3290
  if (cs == wikitext_error)
3351
3291
  rb_raise(eWikitextParserError, "failed before finding a token");
3352
3292
  else if (out->type == NO_TOKEN)