Mercurial > hg > CbC > CbC_llvm
comparison lib/Support/regcomp.c @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 60c9769439b8 |
comparison
equal
deleted
inserted
replaced
34:e874dbf0ad9d | 77:54457678186b |
---|---|
530 sopno pos; | 530 sopno pos; |
531 int i; | 531 int i; |
532 sopno subno; | 532 sopno subno; |
533 # define BACKSL (1<<CHAR_BIT) | 533 # define BACKSL (1<<CHAR_BIT) |
534 | 534 |
535 pos = HERE(); /* repetion op, if any, covers from here */ | 535 pos = HERE(); /* repetition op, if any, covers from here */ |
536 | 536 |
537 assert(MORE()); /* caller should have ensured this */ | 537 assert(MORE()); /* caller should have ensured this */ |
538 c = GETNEXT(); | 538 c = GETNEXT(); |
539 if (c == '\\') { | 539 if (c == '\\') { |
540 REQUIRE(MORE(), REG_EESCAPE); | 540 REQUIRE(MORE(), REG_EESCAPE); |
541 c = BACKSL | GETNEXT(); | 541 c = BACKSL | GETNEXT(); |
542 } | 542 } |
543 switch (c) { | 543 switch (c) { |