summaryrefslogtreecommitdiffstats
path: root/edify/parser.yy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* edify: update for bison 3.5Steven Moreland2020-01-141-1/+1
| | | | | | | | | | Getting rid of warning, so using new define for turning on verbose errors: %define parse.error verbose Bug: 31194194 Test: N/A Change-Id: I47c200a1e669b5c5fc53d392f32b4c264a42182d
* edify: Rename parse_string to ParseString and let it take std::string.Tao Bao2018-07-101-3/+3
| | | | | | | Also simplify the helper function expect() in {edify,updater}_test.cpp. Test: Run recovery_component_test on marlin. Change-Id: If54febba4b5013f6d71546318a1ca6b635204ac8
* edify: Export the header and move to Soong.Tao Bao2017-10-091-1/+1
| | | | | | | | Also make matching changes to applypatch modules which include edify/expr.h. Test: mmma bootable/recovery Change-Id: Ia72be3caa010d7f56a70add2da345e631b306378
* Suppress the unused variable warning in parser.yyTianjie Xu2017-03-281-0/+3
| | | | | | | | | The warning says: bootable/recovery/edify/parser.yy:123.3-9: warning: unused value: $1 Bug: 36678950 Test: mma Change-Id: Ic734c416a5a8f62fb5e516669102c1d2b4ad5083
* Remove malloc in edify functionsTianjie Xu2017-03-221-44/+27
| | | | | | | | And switch them to std::vector & std::unique_ptr Bug: 32117870 Test: recovery tests passed on sailfish Change-Id: I5a45951c4bdf895be311d6d760e52e7a1b0798c3
* edify: Some clean-ups to libedify.Tao Bao2016-10-131-5/+24
| | | | | | | | | | | | - Remove dead declarations in expr.h: SetError(), GetError(), ClearError(). - Remove the declaration of Build() out of expr.h. - Use std::unordered_map to implement RegisterFunction() and FindFunction(); kill FinishRegistration(). - Add a testcase for calling unknown functions. Test: mmma bootable/recovery; recovery_component_test passes. Change-Id: I9af6825ae677f92b22d716a4a5682f58522af03b
* Rename .l/.y to .ll/.yyYing Wang2016-01-131-0/+139
Now to generate .cpp you need to use .ll/.yy. Bug: 26492989 Change-Id: Ib078e03b3b0758f7a62595c343e52ae856bcb33f