diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-20 00:14:07 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-20 00:14:07 -0700 |
commit | 49b84f76e1036ebeb75b4348d1d0cf7fdf233939 (patch) | |
tree | 218324fe14af3cdd681003ff29ba40b5bca5dfa2 /parser.l | |
parent | e75c5716a22e2c977648230e0d9a0917b41afe56 (diff) | |
download | txr-49b84f76e1036ebeb75b4348d1d0cf7fdf233939.tar.gz txr-49b84f76e1036ebeb75b4348d1d0cf7fdf233939.tar.bz2 txr-49b84f76e1036ebeb75b4348d1d0cf7fdf233939.zip |
* parser.l (FLO): Adjusted syntax of floating point numbers
to allow leading or trailing decimal.
Diffstat (limited to 'parser.l')
-rw-r--r-- | parser.l | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -150,7 +150,7 @@ static wchar_t num_esc(char *num) SYM [a-zA-Z0-9_]+ NUM [+\-]?[0-9]+ -FLO [+\-]?[0-9]+([.][0-9]+)?([eE][+-]?[0-9]+)? +FLO [+\-]?([0-9]+[.]?[0-9]*|[0-9]*[.][0-9]+)([eE][+-]?[0-9]+)? BSCHR [a-zA-Z0-9!$%&*+\-<=>?\\^_~] BSYM {BSCHR}({BSCHR}|#)* NSCHR [a-zA-Z0-9!$%&*+\-<=>?\\^_~/] |