1 | %{ |
1 | %{ |
2 | /* |
2 | /* |
3 | * static char *rcsid_object_c = |
3 | * static char *rcsid_object_c = |
4 | * "$Id: loader.l,v 1.15 2006/08/30 16:30:36 root Exp $"; |
4 | * "$Id: loader.l,v 1.16 2006/08/31 06:23:19 root Exp $"; |
5 | */ |
5 | */ |
6 | |
6 | |
7 | /* |
7 | /* |
8 | CrossFire, A Multiplayer game for X-windows |
8 | CrossFire, A Multiplayer game for X-windows |
9 | |
9 | |
… | |
… | |
1060 | |
1060 | |
1061 | ^event_ { |
1061 | ^event_ { |
1062 | LOG (llevError, "stray event_* in map file, skipping."); |
1062 | LOG (llevError, "stray event_* in map file, skipping."); |
1063 | } |
1063 | } |
1064 | |
1064 | |
1065 | ^current_weapon_script{S} { LOG (llevError, "stray current_weapon_script in map file, skipping."); } |
|
|
1066 | |
|
|
1067 | <*>(^{WS}$)|\n {/* ignore empty lines, newlines we don't do above */} |
1065 | <*>(^{WS}$)|\n {/* ignore empty lines, newlines we don't do above */} |
1068 | #.*\n {} |
1066 | #.*\n {} |
1069 | |
1067 | |
1070 | <<EOF>> {/* If we got an error, return the error. Otherwise, return that we got EOF */ |
1068 | <<EOF>> {/* If we got an error, return the error. Otherwise, return that we got EOF */ |
1071 | if (lex_error!=0) return lex_error; else return LL_EOF;} |
1069 | if (lex_error!=0) return lex_error; else return LL_EOF;} |