Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2614 - still fixing bugs with missing '[' | Kartik K. Agaram | 2015-12-02 | 1 | -2/+1 |
| | | | | | | When skipping past some text (usually whitespace, but also commas and comments) I need to always be aware of whether it's ok to switch to the next line or not. | ||||
* | 2454 | Kartik K. Agaram | 2015-11-17 | 1 | -5/+5 |
| | | | | | | Another gotcha uncovered in the process of sorting out the previous commit: I keep using eof() but forgetting that there are two other states an istream can get into. Just never use eof(). | ||||
* | 2452 | Kartik K. Agaram | 2015-11-16 | 1 | -6/+6 |
| | |||||
* | 2377 - stop using operator[] in map | Kartik K. Agaram | 2015-11-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | I'm still seeing all sorts of failures in turning on layer 11 of edit/, so I'm backing away and nailing down every culprit I run into. First up: stop accidentally inserting empty objects into maps during lookups. Commands run: $ sed -i 's/\(Recipe_ordinal\|Recipe\|Type_ordinal\|Type\|Memory\)\[\([^]]*\)\] = \(.*\);/put(\1, \2, \3);/' 0[1-9]* $ vi 075scenario_console.cc # manually fix up Memory[Memory[CONSOLE]] $ sed -i 's/\(Memory\)\[\([^]]*\)\]/get_or_insert(\1, \2)/' 0[1-9]* $ sed -i 's/\(Recipe_ordinal\|Type_ordinal\)\[\([^]]*\)\]/get(\1, \2)/' 0[1-9]* $ sed -i 's/\(Recipe\|Type\)\[\([^]]*\)\]/get(\1, \2)/' 0[1-9]* Now mu dies pretty quickly because of all the places I try to lookup a missing value. | ||||
* | 2334 | Kartik K. Agaram | 2015-10-31 | 1 | -2/+1 |
| | |||||
* | 2317 | Kartik K. Agaram | 2015-10-29 | 1 | -0/+199 |