Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated lexer for HLSL.
Added some operators, and I'm pretty sure TOKEN_ELLIPSIS isn't used in
 the D3D preprocessor or HLSL.
  • Loading branch information
icculus committed Feb 12, 2009
1 parent 44b8bb4 commit 47f0003
Show file tree
Hide file tree
Showing 3 changed files with 576 additions and 494 deletions.
13 changes: 12 additions & 1 deletion mojoshader_internal.h
Expand Up @@ -286,7 +286,18 @@ typedef enum
TOKEN_INT_LITERAL,
TOKEN_FLOAT_LITERAL,
TOKEN_STRING_LITERAL,
TOKEN_ELLIPSIS,
TOKEN_RSHIFTASSIGN,
TOKEN_LSHIFTASSIGN,
TOKEN_ADDASSIGN,
TOKEN_SUBASSIGN,
TOKEN_MULTASSIGN,
TOKEN_DIVASSIGN,
TOKEN_MODASSIGN,
TOKEN_XORASSIGN,
TOKEN_ANDASSIGN,
TOKEN_ORASSIGN,
TOKEN_INCREMENT,
TOKEN_DECREMENT,
TOKEN_RSHIFT,
TOKEN_LSHIFT,
TOKEN_ANDAND,
Expand Down

0 comments on commit 47f0003

Please sign in to comment.