| 2798 | } |
| 2799 | |
| 2800 | bool GameState::IdtfGoodName(const char* name) const |
| 2801 | { |
| 2802 | if (!isalphaext(*name)) |
| 2803 | { |
| 2804 | return false; |
| 2805 | } |
| 2806 | for (const char* n = name; *n; n++) |
| 2807 | { |
| 2808 | if (!isalnumext(*n)) |
| 2809 | { |
| 2810 | return false; |
| 2811 | } |
| 2812 | } |
| 2813 | return VarGoodName(name); |
| 2814 | } |
| 2815 | |
| 2816 | bool GameState::LValueGoodName(const char* name) const |
| 2817 | { |
no test coverage detected