plugins/include/textparse.inc
changeset 2317 a7380514e63c
parent 2289 44045ead61cd
     1.1 --- a/plugins/include/textparse.inc	Sun Sep 21 14:05:13 2008 -0700
     1.2 +++ b/plugins/include/textparse.inc	Sun Sep 21 14:56:38 2008 -0700
     1.3 @@ -108,7 +108,7 @@
     1.4   * @param smc			The SMC Parse Handle.
     1.5   * @noreturn
     1.6   */
     1.7 -functag SMC_ParseStart public(Handle:smc);
     1.8 +functag public SMC_ParseStart(Handle:smc);
     1.9  
    1.10  /**
    1.11   * Sets the SMC_ParseStart function of a parse Handle.
    1.12 @@ -128,7 +128,7 @@
    1.13   * @param failed		True if parsing failed, false otherwise.
    1.14   * @noreturn
    1.15   */
    1.16 -functag SMC_ParseEnd public(Handle:smc, bool:halted, bool:failed);
    1.17 +functag public SMC_ParseEnd(Handle:smc, bool:halted, bool:failed);
    1.18  
    1.19  /**
    1.20   * Sets the SMC_ParseEnd of a parse handle.
    1.21 @@ -149,7 +149,7 @@
    1.22   * @param opt_quotes	True if the section name was quote-enclosed in the file.
    1.23   * @return				An SMCResult action to take.
    1.24   */
    1.25 -functag SMC_NewSection SMCResult:public(Handle:smc, const String:name[], bool:opt_quotes);
    1.26 +functag public SMCResult:SMC_NewSection(Handle:smc, const String:name[], bool:opt_quotes);
    1.27  
    1.28  /**
    1.29   * Called when the parser finds a new key/value pair.
    1.30 @@ -162,7 +162,7 @@
    1.31   * @param value_quotes	Whether or not the value was enclosed in quotes.
    1.32   * @return				An SMCResult action to take.
    1.33   */
    1.34 -functag SMC_KeyValue SMCResult:public(Handle:smc, const String:key[], const String:value[], bool:key_quotes, bool:value_quotes);
    1.35 +functag public SMCResult:SMC_KeyValue(Handle:smc, const String:key[], const String:value[], bool:key_quotes, bool:value_quotes);
    1.36  
    1.37  /**
    1.38   * Called when the parser finds the end of the current section.
    1.39 @@ -170,7 +170,7 @@
    1.40   * @param smc			The SMC Parse Handle.
    1.41   * @return				An SMCResult action to take.
    1.42   */
    1.43 -functag SMC_EndSection SMCResult:public(Handle:smc);
    1.44 +functag public SMCResult:SMC_EndSection(Handle:smc);
    1.45  
    1.46  /**
    1.47   * Sets the three main reader functions.
    1.48 @@ -191,7 +191,7 @@
    1.49   * @param lineno		The line number it occurs on.
    1.50   * @return				An SMCResult action to take.
    1.51   */
    1.52 -functag SMC_RawLine SMCResult:public(Handle:smc, const String:line[], lineno);
    1.53 +functag public SMCResult:SMC_RawLine(Handle:smc, const String:line[], lineno);
    1.54  
    1.55  /**
    1.56   * Sets a raw line reader on an SMC parser Handle.