diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ec1d827 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ + +# 0.0.2 +Fix categorization of one-character names. + +# 0.0.1 +Initial version diff --git a/j-lex.ijs b/j-lex.ijs index 3fcaeb6..d468696 100644 --- a/j-lex.ijs +++ b/j-lex.ijs @@ -47,7 +47,7 @@ jcut =: verb define ) NB. helpers for jtyp -isName =: [: # '^[[:alpha:]]\w+$' & rxmatches +isName =: [: # '^[[:alpha:]]\w*$' & rxmatches reCtrl =: '^(assert|break|continue|(goto|label|for)(_\w+)|do|end|if|else|elseif|return' reCtrl =: reCtrl,'|select|f?case|throw|while|whilst)[.]' isCtrl =: [: # reCtrl & rxmatches diff --git a/manifest.ijs b/manifest.ijs index 8f8f0f1..b79c6ee 100644 --- a/manifest.ijs +++ b/manifest.ijs @@ -1,5 +1,5 @@ CAPTION =: 'a lexer for j source code' -VERSION =: '0.0.1' +VERSION =: '0.0.2' RELEASE =: 'j902' FOLDER =: 'tangentstorm/j-lex' FILES =: 0 : 0