Changeset 0784869 in mainline for uspace/lib/bithenge/script.c
- Timestamp:
- 2012-08-20T17:32:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f136a27
- Parents:
- 1a3b953
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/script.c
r1a3b953 r0784869 46 46 #include "tree.h" 47 47 48 /** @cond internal */ 49 #define BUFFER_SIZE 4096 50 /** @endcond */ 51 48 52 /** Tokens with more characters than this may be read incorrectly. */ 49 #define MAX_TOKEN_SIZE 256 50 #define BUFFER_SIZE 4096 51 52 /** Single-character symbols are represented by the character itself. Every53 static const int MAX_TOKEN_SIZE = 256; 54 55 /** @cond internal 56 * Single-character symbols are represented by the character itself. Every 53 57 * other token uses one of these values: */ 54 58 typedef enum { … … 82 86 TOKEN_WHILE, 83 87 } token_type_t; 88 /** @endcond */ 84 89 85 90 /** Singly-linked list of named transforms. */ … … 438 443 /***************** Expressions *****************/ 439 444 445 /** @cond internal */ 440 446 typedef enum { 441 447 PRECEDENCE_NONE, … … 446 452 PRECEDENCE_MULTIPLY, 447 453 } precedence_t; 454 /** @endcond */ 448 455 449 456 static bithenge_binary_op_t token_as_binary_operator(token_type_t token)
Note:
See TracChangeset
for help on using the changeset viewer.