expressions moved to separate file

This commit is contained in:
2018-04-20 17:07:38 +02:00
parent 430d163fc2
commit 0b6d1ddde7
6 changed files with 290 additions and 254 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef expr_h
#define expr_h
#ifdef __cplusplus
extern {
#endif
extern int exprDebug;
size_t replaceExpressions(const char* source, char* buffer, size_t buffersize);
/* Resolve integer expressions that are either free standing
* or in parentheses () embedded in an unquoted word.
* Do not resolve expressions in single or double quoted strings.
* An expression optionally starts with a integer format such as %x.
* It consists of integer numbers, operators and parentheses ().
*/
#ifdef __cplusplus
}
#endif
#endif