summaryrefslogtreecommitdiff
path: root/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.l')
-rw-r--r--lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.l b/lexer.l
index 008f813bf5..220b07ccf8 100644
--- a/lexer.l
+++ b/lexer.l
@@ -36,7 +36,7 @@ PITCH ['`]*{OPTSIGN}{NOTENAME}
DURNAME 1|2|4|8|16|32
DURATION {DURNAME}\.*
FULLNOTE {PITCH}{DURATION}?
-WORD [a-zA-Z]+
+WORD [a-zA-Z][a-zA-Z0-9_]+
REAL [0-9]+(\.[0-9]*)?
%%