Skip to content

Bad usage re2c #21

Closed
Closed

Description

@DEgITx

hiphop wrong use re2c. When compiling it's show help info.

[ 13%] [RE2C] Building re2c scanner with re2c 001203
usage: re2c [-bdefghisvVw1] [-o file] file

-? -h --help Display this info.

-b --bit-vectors Implies -s. Use bit vectors as well in the attempt to coax better code out of the compiler. Most useful for specifications with more than a few keywords (e.g. for most programming languages).

-d --debug-output Creates a parser that dumps information during about the current position and in which state the parser is.

-e --ecb Cross-compile from an ASCII platform to an EBCDIC one.

-f --storable-state Generate a scanner that supports storable states.

-g --computed-gotos Implies -b. Generate computed goto code (only useable with gcc).

-i --no-debug-info Do not generate '#line' info (usefull for versioning).

-o --output=output Specify the output file instead of stdout This cannot be used together with -e switch.

-s --nested-ifs Generate nested ifs for some switches. Many compilers need this assist to generate better code.

-u --unicode Implies -w but supports the full Unicode character set.

-v --version Show version information.

-V --vernum Show version as one number.

-w --wide-chars Create a parser that supports wide chars (UCS-2). This implies -s and cannot be used together with -e switch.

-1 --single-pass Force single pass generation, this cannot be combined with -f and disables YYMAXFILL generation prior to last e2c block.

--no-generation-date Suppress date output in the generated output so that it only shows the re2c version.
make[2]: *** [src/third_party/xhp/xhp/fastpath.cpp] Error 2
make[1]: *** [src/third_party/xhp/xhp/CMakeFiles/xhp.dir/all] Error 2

re2c version - 0.12.3 (4.fc12)
Disr - Fedora 12 (x86_64)

Activity

  1. scottmac commented on Jul 20, 2010

    @scottmac
    Contributor

    Fixed in e9ae44c by removing the need to use re2c and xhp unless its for development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions