search for: isidentifierchar

Displaying 2 results from an estimated 2 matches for "isidentifierchar".

2012 May 23
0
[LLVMdev] Assembly macros instantiation problem
...cro eax, ebx Although, if one removes underscores from mov_macro argument names, compilation would succeed. Such behavior is due to the glitch in AsmParser::expandMacro() logic: it treats first non-alphanumeric character as the end of argument instantiation token. Following patch fixes the issue (IsIdentifierChar routine implementation was borrowed from lib/MC/MCParser/AsmLexer.cpp): =================================================================== --- lib/MC/MCParser/AsmParser.cpp (revision 157279) +++ lib/MC/MCParser/AsmParser.cpp (working copy) @@ -1436,6 +1436,11 @@ NewDiag.print(0, OS); } +//...
2014 Nov 12
2
[LLVMdev] Increase the flexibility of the AsmLexer in parsing identifiers.
Hello, I would like to gather some ideas and opinions on how to make the default AsmLexer more flexible when dealing with Identifiers. When the lexer emits something as an "Identifier" (read. String of characters) it means that it needs to be parsed all at once in a single go, even if it contains elements that might be wanted to be parsed as separate entities. In that case it is needed