Closed Bug 1008875 Opened 11 years ago Closed 11 years ago

[NFC] Cleanup NFC command parser in emulator

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 fixed)

RESOLVED FIXED
2.0 S2 (23may)
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file)

The emulator's console parses several arguments for each NFC command. Several commands share common arguments. The parser code for such commands should be unified and shared.
OS: Linux → Gonk (Firefox OS)
Attached file Github pull request
This change set moves console-parser code into separate functions and fixes some minor bugs in the process.
Attachment #8421612 - Flags: review?(vyang)
Attachment #8421612 - Flags: review?(vyang) → review+
Comment on attachment 8421612 [details] Github pull request Updated pull request - cleaned up parse_sap, as suggested by comment - introduced common lexer and parser functions Vicamo, you might want to take another look, or please merge the change set if you're with it.
"you're ok"
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: