mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
#include foo/bar.qc now works
This commit is contained in:
parent
0d8ac0dbdd
commit
8f04a482f0
1 changed files with 4 additions and 4 deletions
|
@ -8,13 +8,13 @@ from pprint import *
|
|||
|
||||
directive_re = re.compile (
|
||||
r'^\s*#\s*(define|undef|include|includelist|endlist|ifdef|ifndef|endif|else|pragma)\b' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/)))?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/)))*)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)*)' +
|
||||
r'((\s*//.*)?)')
|
||||
macro_re = re.compile (r'#([A-Za-z_]\w*)')
|
||||
arg_re = re.compile (
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/)))?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/)))*)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)?)' +
|
||||
r'((\s*("[^"]*"|[^ \t\n\r\f\v/]+|/(?!/))+)*)' +
|
||||
r'((\s*//.*)?)')
|
||||
|
||||
current_file = []
|
||||
|
|
Loading…
Reference in a new issue