if (right_) {
out_ << '\n';
right_ = false;
- goto mode;
- }
+ } goto done;
} else goto work;
right_ = true;
- mode:
mode_ = NoMode;
goto done;
void CYComment::Output(CYOutput &out, CYFlags flags) const {
out << '\r';
- out << value_;
+ out.out_ << value_;
+ out.right_ = true;
out << '\r';
}
void CYDeclaration::Output(CYOutput &out, CYFlags flags) const {
out << *identifier_;
+ //out.out_ << ':' << identifier_->usage_ << '#' << identifier_->offset_;
if (initialiser_ != NULL) {
out << ' ' << '=' << ' ';
initialiser_->Output(out, CYPA, CYRight(flags));
}
void CYDirectMember::Output(CYOutput &out, CYFlags flags) const {
- object_->Output(out, Precedence(), CYLeft(flags));
+ object_->Output(out, Precedence(), CYLeft(flags) | CYNoInteger);
if (const char *word = property_->Word())
out << '.' << word;
else
}
void CYEmpty::Output(CYOutput &out, CYFlags flags) const {
- out << '`';
out.Terminate();
}
if (protect)
out << '(';
out << "function";
- if (out.options_.verbose_)
- out.out_ << ':' << static_cast<const CYScope *>(this);
if (name_ != NULL)
out << ' ' << *name_;
out << '(' << parameters_ << ')';
"let", "yield",
- "each",
-
NULL
};