parapluu / encore

The Encore compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RegExp lib no longer compiles

supercooldave opened this issue · comments

The regular expresssion lib, located in modules/standard/Regex, no longer compiles.
This has slipped through testing because the test script was still located in the library directory, not in the test directory.

The error I get is:

RegexTest_src/Regex.encore.c:178:73: error: use of undeclared identifier
      'REG_EXTendED'
  ...result = regcomp(&((*_this)._enc__field_regex), _pattern_10, REG_EXTendE...
                                                                  ^
RegexTest_src/Regex.encore.c:180:73: error: use of undeclared identifier
      'REG_EXTendED'
  ...result = regcomp(&((*_this)._enc__field_regex), _pattern_10, REG_EXTendE...
                                                                  ^
RegexTest_src/Regex.encore.c:182:73: error: use of undeclared identifier
      'REG_EXTendED'
  ...result = regcomp(&((*_this)._enc__field_regex), _pattern_10, REG_EXTendED);
                                                                  ^
RegexTest_src/Regex.encore.c:233:5: error: use of undeclared identifier
      '_enc__read_String_t'
  ({_enc__read_String_t* _enc__field_pattern = _this->_enc__field_pattern;
    ^
RegexTest_src/Regex.encore.c:233:26: error: use of undeclared identifier
      '_enc__field_pattern'
  ({_enc__read_String_t* _enc__field_pattern = _this->_enc__field_pattern;
                         ^
RegexTest_src/Regex.encore.c:234:36: error: use of undeclared identifier
      '_enc__field_pattern'
      encore_trace_object((*_ctx), _enc__field_pattern, _enc__trace_String);
                                   ^
RegexTest_src/Regex.encore.c:234:57: error: use of undeclared identifier
      '_enc__trace_String'
      encore_trace_object((*_ctx), _enc__field_pattern, _enc__trace_String);
                                                            ^

I suspect this is due to changes in the naming scheme for generated names.