bool compile(false);
CYOptions options;
- append_history$ = reinterpret_cast<int (*)(int, const char *)>(dlsym(RTLD_DEFAULT, "append_history"));
+ append_history$ = (int (*)(int, const char *)) (dlsym(RTLD_DEFAULT, "append_history"));
#ifdef CY_ATTACH
pid_t pid(_not(pid_t));
#define C T yyextra->state_ = CYClear;
#define R T yyextra->state_ = CYRestricted;
-#define E(prefix) L C { \
- char *value(A char[yyleng + sizeof(prefix)]); \
- memcpy(value, prefix, sizeof(prefix) - 1); \
- memcpy(value + sizeof(prefix) - 1, yytext, yyleng); \
- value[yyleng + sizeof(prefix) - 1] = '\0'; \
- I(literal, RegEx(value), RegularExpressionLiteral); \
-}
+#define E L C I(literal, RegEx(Y), RegularExpressionLiteral);
#define N \
if (yyextra->state_ != CYNewLine) { \
%%
-<RegExp>\/{RegularExpressionBody}\/{RegularExpressionFlags} E("")
+<RegExp>\/{RegularExpressionBody}\/{RegularExpressionFlags} E
\/\/[^\n]* L
CYIdentifierValueSet identifiers_;
CYScope(CYScopeType type, CYContext &context, CYStatement *&statements);
+ virtual ~CYScope();
void Close();