Home | History | Annotate | Download | only in MCParser

Lines Matching refs:TokError

657     return TokError("unmatched .ifs or .elses");
665 TokError("unassigned file number: " + Twine(Index) +
704 TokError("expected section directive before assembly directive");
749 return TokError("expected ')' in parentheses expression");
764 return TokError("expected ']' in brackets expression");
781 return TokError("unknown token in expression");
875 return TokError("literal value out of range for directive");
891 return TokError("invalid variant '" + Split.second + "'");
929 return TokError("brackets expression not supported on this target");
976 TokError("invalid variant on expression '" + getTok().getIdentifier() +
1035 return TokError("unexpected symbol modifier following '@'");
1040 return TokError("invalid variant '" + getTok().getIdentifier() + "'");
1044 return TokError("invalid modifier '" + getTok().getIdentifier() +
1212 return TokError("unexpected token at start of statement");
1219 return TokError("unexpected token at start of statement");
1228 return TokError("unexpected token at start of statement");
1470 return TokError(Twine(IDVal) + " not supported yet");
1929 return TokError("unexpected token in macro instantiation");
1974 return TokError("unbalanced parentheses in macro argument");
2005 TokError("expected '=' after formal parameter identifier");
2077 return TokError("too many positional arguments");
2101 return TokError("macros cannot be nested more than 20 levels deep");
2184 return TokError("unexpected token in assignment");
2276 return TokError("expected identifier after '" + Twine(IDVal) + "'");
2279 return TokError("unexpected token in '" + Twine(IDVal) + "'");
2300 return TokError("unexpected backslash at end of string");
2318 return TokError("invalid octal escape sequence (out of range)");
2328 return TokError("invalid escape sequence (unrecognized character)");
2351 return TokError("expected string in '" + Twine(IDVal) + "' directive");
2367 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
2403 return TokError("unexpected token in directive");
2423 return TokError("unknown token in expression");
2453 return TokError("unexpected token in directive");
2481 return TokError("unexpected token in directive");
2492 return TokError("invalid floating point literal");
2495 return TokError("invalid floating point literal");
2511 return TokError("unexpected token in directive");
2537 return TokError("unexpected token in '.zero' directive");
2568 return TokError("unexpected token in '.fill' directive");
2577 return TokError("unexpected token in '.fill' directive");
2585 return TokError("unexpected token in '.fill' directive");
2628 return TokError("unexpected token in '.org' directive");
2635 return TokError("unexpected token in '.org' directive");
2665 return TokError("unexpected token in directive");
2679 return TokError("unexpected token in directive");
2687 return TokError("unexpected token in directive");
2755 return TokError("file number less than one");
2759 return TokError("unexpected token in '.file' directive");
2773 return TokError("explicit path specified, but no file number");
2784 return TokError("unexpected token in '.file' directive");
2807 return TokError("unexpected token in '.line' directive");
2817 return TokError("unexpected token in '.line' directive");
2831 return TokError("unexpected token in '.loc' directive");
2834 return TokError("file number less than one in '.loc' directive");
2836 return TokError("unassigned file number in '.loc' directive");
2843 return TokError("line number less than zero in '.loc' directive");
2851 return TokError("column position less than zero in '.loc' directive");
2866 return TokError("unexpected token in '.loc' directive");
2926 return TokError("unsupported directive '.stabs'");
2937 return TokError("Expected an identifier");
2948 return TokError("Expected an identifier");
2966 return TokError("unexpected token in .cfi_startproc directive");
3002 return TokError("unexpected token in directive");
3032 return TokError("unexpected token in directive");
3082 return TokError("unexpected token in directive");
3101 return TokError("unexpected token in directive");
3146 return TokError("unsupported encoding.");
3149 return TokError("unexpected token in directive");
3154 return TokError("expected identifier in directive");
3265 return TokError("expected identifier in '.macro' directive");
3280 return TokError("expected identifier in '.macro' directive");
3342 return TokError("unexpected token in '" + EndToken.getIdentifier() +
3479 return TokError("unexpected token in '" + Directive + "' directive");
3490 return TokError("unexpected '" + Directive + "' in file, "
3499 return TokError("expected identifier in '.purgem' directive");
3502 return TokError("unexpected token in '.purgem' directive");
3523 return TokError("unexpected token after expression in"
3572 return TokError("unexpected token in '.bundle_unlock' directive");
3591 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3598 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3604 return TokError("invalid number of bytes in '" + Twine(IDVal) +
3623 return TokError("unexpected token in directive");
3657 return TokError("unexpected token in directive");
3674 return TokError("expected identifier in directive");
3680 return TokError("unexpected token in directive");
3710 return TokError("unexpected token in '.comm' or '.lcomm' directive");
3748 return TokError("unexpected token in '.abort' directive");
3765 return TokError("expected string in '.include' directive");
3775 return TokError("unexpected token in '.include' directive");
3791 return TokError("expected string in '.incbin' directive");
3801 return TokError("unexpected token in '.incbin' directive");
3825 return TokError("unexpected token in '.if' directive");
3871 return TokError("unexpected token in '.ifb' directive");
3895 return TokError("unexpected token in '.ifc' directive");
3902 return TokError("unexpected token in '.ifc' directive");
3917 TokError("expected string parameter for '.ifeqs' directive");
3926 TokError("expected comma after first string for '.ifeqs' directive");
3934 TokError("expected string parameter for '.ifeqs' directive");
3961 return TokError("expected identifier after '.ifdef'");
3998 return TokError("unexpected token in '.elseif' directive");
4012 return TokError("unexpected token in '.else' directive");
4036 return TokError("unexpected token in '.end' directive");
4063 TokError(".error argument must be a string");
4080 return TokError("unexpected token in '.endif' directive");
4232 TokError("unexpected token in '.endr' directive");
4290 return TokError("unexpected token in '" + Dir + "' directive");
4319 return TokError("expected identifier in '.irp' directive");
4322 return TokError("expected comma in '.irp' directive");
4359 return TokError("expected identifier in '.irpc' directive");
4362 return TokError("expected comma in '.irpc' directive");
4371 return TokError("unexpected token in '.irpc' directive");
4402 return TokError("unmatched '.endr' directive");