You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you pass a file with any unknown directive like:
#notgood
You get a crash processing a token:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at CppNet.Preprocessor._token()
at CppNet.Preprocessor.token()
This probably shouldn't crash... it should probably return some unknown directive type. At worst it should output a reasonable error message and fail to parse.
The text was updated successfully, but these errors were encountered:
If you pass a file with any unknown directive like:
You get a crash processing a token:
This probably shouldn't crash... it should probably return some unknown directive type. At worst it should output a reasonable error message and fail to parse.
The text was updated successfully, but these errors were encountered: