summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
AgeCommit message (Collapse)Author
2012-07-03preserve toplevel local variable info in mrbc_contextYukihiro Matsumoto
2012-07-03add context arg to mrb_parser_parse()Yukihiro Matsumoto
2012-07-03add context to parser, that would hold local variable info, filename, and ↵Yukihiro Matsumoto
line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions.
2012-07-03modify compiler API; replace mrb_compie_xxx with mrb_load_xxx() that ↵Yukihiro Matsumoto
combines compilatoin and execution
2012-07-03constify parser input stringsYukihiro Matsumoto
2012-07-03remove size_t from parserYukihiro Matsumoto
2012-06-28allow string interpolation in symbols like :"a=#{15}"Yukihiro Matsumoto
2012-06-28allow :"text" form; close #321Yukihiro Matsumoto
2012-06-26Merge pull request #330 from ↵Yukihiro "Matz" Matsumoto
monaka/pr-fix-parser-y-to-supress-warning-array-subscript Supress "warning: array subscript has type ‘char’"
2012-06-27Supress "warning: array subscript has type ‘char’"Masaki Muranaka
2012-06-27Use sizeof to get char array sizes.Masaki Muranaka
2012-06-16parser_dump: local variable dump condition updatedYukihiro Matsumoto
2012-06-16Fix to show ensure nodeJunji Sawada
2012-06-15use ENABLE/DISABLE instead of INCLUDE for configuration macro namesYukihiro Matsumoto
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-14Fix typo in parser around tLEQMasaki Muranaka
2012-06-14should not ignore variable-less rest parameterYukihiro Matsumoto
2012-06-11zsuper should respect block given; close #185Yukihiro Matsumoto
2012-06-11parser_dump: no print "local variables" if no local variablesYukihiro Matsumoto
2012-06-03Refactor hardcoded PARSER_DUMP macroJon
2012-06-04remove mrb_open NULL check for small test programs. They are only for ↵Yukihiro Matsumoto
proof-on-concept test, not production code. Adding precise checks are not needed for those code
2012-06-03Check mrb_open return value for NULLJon
2012-06-01rest argument offset might be -1 that means emptyYukihiro Matsumoto
2012-05-28column position adjustment was wrongYukihiro Matsumoto
2012-05-28ignore error nodes (with node_begin initialization)Yukihiro Matsumoto
2012-05-28column adjustment was wrong for pushed back charactersYukihiro Matsumoto
2012-05-27Add 'ifndef/endif' to avoid conflict of 'TRUE' definition.Masamitsu MURASE
2012-05-24parser->colum number was wrongYukihiro Matsumoto
2012-05-23remove warning for open paren after spaceYukihiro Matsumoto
2012-05-23allow empty paren as a valid exprYukihiro Matsumoto
2012-05-21use mrb's allocator; thanks to @mitchblankYukihiro Matsumoto
2012-05-20waring refactoring; print line numberYukihiro Matsumoto
2012-05-20Merge pull request #169 from mitchblank/cplusplusYukihiro "Matz" Matsumoto
Part 1 of C++ compilability
2012-05-20Fix wrong castKazuki Tsujimoto
2012-05-20C++ compilability: don't use "node" as both a type and a memberMitchell Blank Jr
I originally solved this by renaming the "node" type to "node_t", but Matz didn't like that. He suggested renaming the member variable "nd" instead: https://github.com/mruby/mruby/pull/144#issuecomment-5743153
2012-05-20Add cast to remove "cast from pointer to integer of different size" warningKazuki Tsujimoto
2012-05-19should initialize p->sterm every parse timeYukihiro Matsumoto
2012-05-19mirb should detect end of expression smarterYukihiro Matsumoto
2012-05-19remove dependency to node.h and pool.hYukihiro Matsumoto
2012-05-19p->tree may be NULL; close #161Yukihiro Matsumoto
2012-05-18failed to initialize source stringYukihiro Matsumoto
2012-05-18move compile.h to mruby/compile.hYukihiro Matsumoto
2012-05-18yywarn should use warn_buffer not error_bufferYukihiro Matsumoto
2012-05-18remove mrb_parse_nstring_ext; use mrb_parser_new() then set p->capture_error ↵Yukihiro Matsumoto
= 1; then call mrb_parser_parse(); see tool/mirb/mirb.c
2012-05-18keep toplevel local variables; close #133Yukihiro Matsumoto
2012-05-18new API for parserYukihiro Matsumoto
2012-05-17compile error should contain line numberYukihiro Matsumoto
2012-05-17print line number in compile error messagesYukihiro Matsumoto
2012-05-17too many line count in nextc()Yukihiro Matsumoto
2012-05-17add cast to remove warning; close #154Yukihiro Matsumoto