summaryrefslogtreecommitdiffstats
path: root/edify/parser.yy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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