end of the function ScriptWarning =========================================================================== Parameter: - Returns: - Changes Globals: - ===========================================================================
| 288 | // Changes Globals: - |
| 289 | //=========================================================================== |
| 290 | void SetScriptPunctuations(script_t *script, punctuation_t *p) |
| 291 | { |
| 292 | #ifdef PUNCTABLE |
| 293 | if (p) PS_CreatePunctuationTable(script, p); |
| 294 | else PS_CreatePunctuationTable(script, default_punctuations); |
| 295 | #endif //PUNCTABLE |
| 296 | if (p) script->punctuations = p; |
| 297 | else script->punctuations = default_punctuations; |
| 298 | } //end of the function SetScriptPunctuations |
| 299 | //============================================================================ |
| 300 | // Reads spaces, tabs, C-like comments etc. |
| 301 | // When a newline character is found the scripts line counter is increased. |
no test coverage detected