version 1.34, 2008/12/01 19:35:55 |
version 1.35, 2008/12/01 21:05:21 |
Line 141 ForAddVar(const char *data, size_t len) |
|
Line 141 ForAddVar(const char *data, size_t len) |
|
* line Line to parse |
* line Line to parse |
* |
* |
* Results: |
* Results: |
* TRUE: We found a for loop, or we are inside a for loop |
* 0: Not a .for statement, parse the line |
* FALSE: We did not find a for loop, or we found the end of the for |
* 1: We found a for loop |
* for loop. |
* -1: A .for statement with a bad syntax error, discard. |
* |
* |
* Side Effects: |
* Side Effects: |
* None. |
* None. |
Line 238 For_Eval(char *line) |
|
Line 238 For_Eval(char *line) |
|
return 1; |
return 1; |
} |
} |
|
|
|
/* |
|
* Add another line to a .for loop. |
|
* Returns 0 when the matching .enfor is reached. |
|
*/ |
|
|
int |
int |
For_Accum(char *line) |
For_Accum(char *line) |
{ |
{ |