diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-06 17:37:51 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-06 17:37:51 +0000 |
commit | fdd6ff07cee824078c5315bf07926ee15bbdde85 (patch) | |
tree | 25ae7097f5f1ee88b7e9d0f27297f38c08a29009 /c_compiler/src/c_lexer.flex | |
parent | 3cef694323c53a19c8c7c0fab19432eb74f8792a (diff) | |
download | Compiler-fdd6ff07cee824078c5315bf07926ee15bbdde85.tar.gz Compiler-fdd6ff07cee824078c5315bf07926ee15bbdde85.zip |
making changes to type in lexer now
Diffstat (limited to 'c_compiler/src/c_lexer.flex')
-rw-r--r-- | c_compiler/src/c_lexer.flex | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/c_compiler/src/c_lexer.flex b/c_compiler/src/c_lexer.flex index c8ca90a..38ee946 100644 --- a/c_compiler/src/c_lexer.flex +++ b/c_compiler/src/c_lexer.flex @@ -8,18 +8,10 @@ extern "C" int fileno(FILE *stream); %} -KEYWORD auto|double|int|struct|break|else|long|switch|case|enum|register|typedef|char|extern|return|union|const|float|short|unsigned|continue|for|signed|void|default|goto|sizeof|volatile|do|if|static|while - IDENTIFIER [_a-zA-Z][_a-zA-Z0-9]* -OPERATOR [.][.][.]|[<>][<>][=]|[-][-]|[+][+]|[|][|]|[#][#]|[&][&]|[+\-*\/<>=!%^|&][=]|[<][<]|[->][>]|[<>&=+\/\-*(){}\[\]\.,%~!?:|^;] - ASSIGNMENT_OPERATOR (([<>][<>]|[*\/%+\-&^|])[=]|[=]) -FRACTIONALCONSTANT (([0-9]*\.[0-9]+)|([0-9]+\.)) -EXPONENTPART ([eE][+-]?[0-9]+) - -FLOATINGSUFFI X ([flFL]) INTEGERSUFFIX ([uU][lL]|[lL][uU]|[uUlL]) DECIMALCONSTANT ([1-9][0-9]*) |