Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(get_token(c, str) == HEX)
- {
- if(get_token(c, str) == COLON)
- {
- if(get_token(c, str) == WHITESPACE)
- {
- if(get_token(c, str) == HEX)
- {
- if(get_token(c, str) == WHITESPACE)
- {
- instruction_symbol(c, str);
- }
- else
- {
- print_fatal("Syntax error: expected whitespace but got %s\n", str.c_str());
- }
- }
- else
- {
- print_fatal("Syntax error: expected hex but got %s\n", str.c_str());
- }
- }
- else
- {
- print_fatal("Syntax error: expected whitespace but got %s\n", str.c_str());
- }
- }
- else
- {
- print_fatal("Syntax error: expected ':' but got %s\n", str.c_str());
- }
- }
- else
- {
- print_fatal("Syntax error: expected hex but got %s\n", str.c_str());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement