aboutsummaryrefslogtreecommitdiff
path: root/parser.go
Commit message (Collapse)AuthorAgeFilesLines
* [go] fix func_backslash.mk and err_invalid_ifeq5.mkFumitoshi Ukai2015-09-041-2/+1
| | | | | | | emit "Nothing to be done for '<target>'" in these test. don't remove "Nothing to be done for 'test' for err_invalid_ifreq3.mk and mark it as TODO(c)
* [go] fix multiline_define.mkFumitoshi Ukai2015-08-211-4/+10
|
* [go] fix recipe_var.mkFumitoshi Ukai2015-07-221-4/+4
|
* fix warn_extra_trailings.mkFumitoshi Ukai2015-07-151-1/+4
| | | | use warnNoPrefix instead of fmt.Printf for warning message.
* [go] fix override_export.mkFumitoshi Ukai2015-07-151-3/+4
| | | | | separete override_export.mk and create err_export_override.mk and err_override_export.mk
* [go] implement vpath directiveFumitoshi Ukai2015-07-151-0/+20
|
* use github.com/golang/glogFumitoshi Ukai2015-07-101-25/+27
|
* minor improve findLiteralChar performanceFumitoshi Ukai2015-07-091-4/+4
|
* fix run_integration_test android caseFumitoshi Ukai2015-07-081-6/+16
|
* fix err_semicolon.mkFumitoshi Ukai2015-07-071-0/+4
|
* fix not_command_with_tab.mkFumitoshi Ukai2015-07-071-9/+3
|
* fix equal_in_target.mkFumitoshi Ukai2015-07-071-3/+55
|
* fix err_unterminated_func.mkFumitoshi Ukai2015-07-071-1/+1
|
* fix err_invalid_ifeq5.mkFumitoshi Ukai2015-07-071-26/+26
|
* fix err_invalid_ifeq4.mkFumitoshi Ukai2015-07-071-0/+3
|
* fix define_newline.mkFumitoshi Ukai2015-07-071-1/+4
|
* fix override_rule.mkFumitoshi Ukai2015-07-071-8/+29
|
* refactor parserFumitoshi Ukai2015-07-071-352/+259
| | | | fix backslash_in_rule_command.mk
* fix unmatched_paren.mkFumitoshi Ukai2015-07-031-8/+8
|
* fix runtime panic with err_invalid_ifeq4.mkFumitoshi Ukai2015-06-301-1/+1
| | | | | | | | | | | | still error message differs --- out/err_invalid_ifeq4.mk/out.make 2015-06-30 17:34:44.657822315 +0900 +++ out/err_invalid_ifeq4.mk/out.kati 2015-06-30 17:34:44.657822315 +0900 @@ -1,5 +1,5 @@ === === -Makefile:3: *** invalid syntax in conditional. +Makefile:4: *** extraneous "endif". === FILES ===
* fix panic based error reportingFumitoshi Ukai2015-06-261-100/+122
|
* unexport Logf, LogAlways, Warn*, Error*Fumitoshi Ukai2015-06-251-13/+13
|
* unexport Makefile, Parser and EvalResultFumitoshi Ukai2015-06-251-21/+15
|
* unexport NinjaGenerator, DefaultMakefileFumitoshi Ukai2015-06-251-1/+1
| | | | change HandleQuery -> Query
* unexport astFumitoshi Ukai2015-06-251-60/+60
|
* go gettable for github.com/google/katiFumitoshi Ukai2015-06-251-4/+4
|
* reduce reading makefiles.Fumitoshi Ukai2015-06-231-46/+55
| | | | | make most global things (makefileCache, symtab, stats, shellStats, wildcardCache) concurrent safe.
* parseExpr less allocationFumitoshi Ukai2015-06-181-8/+8
|
* Fix $(info }#)Shinichiro Hamaji2015-06-181-2/+8
|
* Handle trailing whitespaces in directives properlyShinichiro Hamaji2015-06-181-3/+3
|
* Fix handling of strings after define/endefShinichiro Hamaji2015-06-181-4/+19
|
* Add LICENSE and licence headersShinichiro Hamaji2015-06-101-0/+14
|
* fix go lint (except comment on exported fields, error message with punct)Fumitoshi Ukai2015-06-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ast.go:70:1: comment on exported type MaybeRuleAST should be of the form "MaybeRuleAST ..." (with optional leading article) eval.go:241:1: comment on exported method Evaluator.EvaluateVar should be of the form "EvaluateVar ..." eval.go:14:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:15:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:16:2: don't use ALL_CAPS in Go names; use CamelCase eval.go:431:2: don't use underscores in Go names; var makefile_list should be makefileList main.go:29:2: var loadJson should be loadJSON main.go:30:2: var saveJson should be saveJSON ninja.go:19:2: struct field ruleId should be ruleID para.go:15:9: if block ends with a return statement, so drop this else and outdent its block para_test.go:21:2: don't use underscores in Go names; var num_tasks should be numTasks parser.go:713:1: error should be the last type when returning multiple items serialize.go:20:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:21:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:22:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:23:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:24:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:25:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:26:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:27:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:28:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:29:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:30:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:31:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:32:2: don't use ALL_CAPS in Go names; use CamelCase serialize.go:230:6: func DumpDepGraphAsJson should be DumpDepGraphAsJSON serialize.go:553:6: func LoadDepGraphFromJson should be LoadDepGraphFromJSON serialize.go:437:9: if block ends with a return statement, so drop this else and outdent its block var.go:174:1: receiver name should not be an underscore var.go:175:1: receiver name should not be an underscore var.go:176:1: receiver name should not be an underscore var.go:177:1: receiver name should not be an underscore var.go:178:1: receiver name should not be an underscore var.go:180:1: receiver name should not be an underscore var.go:183:1: receiver name should not be an underscore var.go:187:1: receiver name should not be an underscore var.go:191:1: receiver name should not be an underscore
* fix go vet: possible formatting directive in Log callFumitoshi Ukai2015-06-081-5/+5
| | | | rename Log to Logf, since it takes format string in the first argument.
* Stop using string in parseIfdefShinichiro Hamaji2015-06-041-5/+5
|
* Use Value instead of string in IfASTShinichiro Hamaji2015-06-041-3/+15
|
* Use Value instead of []byte in MaybeRuleASTShinichiro Hamaji2015-06-041-1/+6
|
* Move more logics for MaybeRule from eval.go to parser.goShinichiro Hamaji2015-06-041-3/+16
|
* Use []byte instead of string in MaybeRuleASTShinichiro Hamaji2015-06-041-3/+3
|
* Use Value in AssignASTShinichiro Hamaji2015-06-041-13/+23
|
* Introduce MakefileCacheShinichiro Hamaji2015-06-041-1/+35
|
* Do not export things after '='Shinichiro Hamaji2015-05-291-5/+13
|
* Eval parameters for export/unexportShinichiro Hamaji2015-05-291-8/+6
|
* Let export/unexport modify environment variablesShinichiro Hamaji2015-05-291-3/+15
|
* Do not die when export/unexport appearShinichiro Hamaji2015-05-261-1/+15
|
* Handle cache based on their contents instead of timestampsShinichiro Hamaji2015-05-251-1/+8
|
* Add fileutil.goShinichiro Hamaji2015-05-251-9/+0
|
* Add --use_cache flagShinichiro Hamaji2015-05-201-0/+11
|
* Serialize read/missing makefilesShinichiro Hamaji2015-05-201-3/+4
|
* Fix the error message for missing MakefileShinichiro Hamaji2015-05-191-2/+6
|