forked from teamnwah/openmw-tes3coop
		
	Merge branch 'minus'
This commit is contained in:
		
						commit
						0fd49f10a9
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -343,7 +343,11 @@ namespace Compiler | ||||||
|             } |             } | ||||||
|             else if (!(c=='"' && name.empty())) |             else if (!(c=='"' && name.empty())) | ||||||
|             { |             { | ||||||
|                 if (!(std::isalpha (c) || std::isdigit (c) || c=='_')) |                 if (!(std::isalpha (c) || std::isdigit (c) || c=='_' || c=='`' || | ||||||
|  |                     /// \todo add an option to disable the following hack. Also, find out who is
 | ||||||
|  |                     /// responsible for allowing it in the first place and meet up with that person in
 | ||||||
|  |                     /// a dark alley.
 | ||||||
|  |                     (c=='-' && !name.empty() && std::isalpha (mStream.peek())))) | ||||||
|                 { |                 { | ||||||
|                     putback (c); |                     putback (c); | ||||||
|                     break; |                     break; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue