<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56338>56338</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-rc: parser should allow string type as nameID
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MikeWang000000
</td>
</tr>
</table>
<pre>
About user-defined resources, both
```
nameID USERTYPE filename
```
and
```
"nameID" "USERTYPE" "filename"
```
are allowed and can be successfully compiled by Microsoft's `rc.exe`.
However for the latter one `llvm-rc` exits with error:
```
llvm-rc: Error parsing file: expected int or identifier, got "nameID"
```
Quotes are necessary when nameID contains special characters like `@` (e.g. `"sr@latin"`)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUk2P2yAQ_TX2ZRTLxvk8-JA2WbWHlfqpVY-AxzYtAYvBm-Tfd_Am7R5iIcwM8Oa9NyjfXpu98lOEiTAsWuyMwxYCkp-CRsrER1A-Dll5yMp9ti5vYw6dPOHnA8DP78dvP359OQJ0xmLKPjwuXfswnwnxhsQLAJ7uePf4H6oQj4EDgrTWn5k5FwEtHSgEmjQroG6y9gran0aGaUFd4dno4Ml3MRMbAoYJusAL8qK44c_zJwZ8xQCdDxAHBCtj5NA7THesfT0tguYV4MVEgrOJA2AIPmT1_iHP-5V6D8d0DkYZyLh-ti1l8TKijkzSuAi8b1p00XQGQ-pD7yO89-qxmfP8dfIRCZIxDpMJMlzhPKCDW8-0d1EaR0Bc0UgLepBBcu1AYM2fWWG2TLBccotFX8wZIShwmp0wLjFIqV3eNnW7q3cyjyZabN7JTALZMhr8ZNu3HgHFkDTH68hdoxuhfAq2GWIcKZknnnj07OekCm4cBwnz9luMwf9mmzg0RFN6o0-rdV1v86HppGxRK71Budq21abSAjd1KVS1UVuttrmVCi012epDchLPMEMkKatDbhpRClFuyqpar6qyLGSnlsuyq0S5U_UONUvHkzS2SDwKH_o8vKlVU0_JF0OR_m9KItM7xLkc48spDj40z-zvi3R9OX_5zKCZFfwFk94Xgg">