Skip to content

Commit 947035a

Browse files
authored
Merge pull request #3189 from jatkinson1000/ncgen-unsigned-suffix-fix
`ncgen` unsigned suffix fix
2 parents 8c5f353 + 483ed76 commit 947035a

File tree

2 files changed

+779
-779
lines changed

2 files changed

+779
-779
lines changed

ncgen/ncgen.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ OPAQUESTRING (0[xX][0-9A-Fa-f][0-9A-Fa-f]*)
215215
PATH ([/]|([/]{ID})([/]{ID})*)
216216

217217
XUNUMBER {OPAQUESTRING}([Ss]|[Ll]|[Ll][Ll])?
218-
NUMBER [+-]?[0-9][0-9]*[Uu]?([BbSs]|[Ll]|[Ll][Ll])?
218+
NUMBER [+-]?[0-9][0-9]*(([Uu]([BbSs]|[Ll]{1,2}))|(([BbSs]|[Ll]{1,2})[Uu])|[Uu]|([BbSs]|[Ll]{1,2}))?
219219
DBLNUMBER [+-]?[0-9]*\.[0-9]*{exp}?[LlDd]?|[+-]?[0-9]*{exp}[LlDd]?
220220
FLTNUMBER [+-]?[0-9]*\.[0-9]*{exp}?[Ff]|[+-]?[0-9]*{exp}[Ff]
221221

0 commit comments

Comments
 (0)