The parser recognise:
break Speccyboot:0:0x1234
but not:
break Didaktik 80 RAM:0:0x1234
If the parser cannot recognise strings with delimiters, maybe we should accept underscores (e.g., Didaktik_80_RAM) and translate before searching the memory source.
Diff:
Patches attached that allow the use of underscores:
or quoted strings:
I slightly prefer quotes, it seems more usual. Opinions?
I don't think we have an ideal solution, but I think that both of these options are an improvement over what we have and I'd be happy with either of them from my point of view.
Another option (patch attached) is don't use spaces. Two arrays are kept, one with spaces for presentation and other without spaces for lookup.
Another unexplored option is escaped spaces:
Quotes and escape characters are usually used in shells.
Last edit: Sergio Baldoví 2016-05-22
Personally, I'd be happy with any of these options though I think that escaped is the best one for my preferences.
Does anyone else have an opinion?
The attached patch implements the escape method:
Maybe there is a better way of un-escaping spaces using lexical rules, but I think it is good enough. I'll commit this week barring objections.
Committed in [r5530].
Related
Commit: [r5530]