aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2/radeon/radeon_drm.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-08-21 23:42:20 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-08-21 23:42:20 +0000
commit058c692e15d6d031553a4ec31cb5aeccd38846ab (patch)
treeef2e6b42763b7e529f4716b8a5b1861427f468fd /sys/dev/drm2/radeon/radeon_drm.h
parentb83a355d70753435a7f44fd9bc172f2efbd91ba8 (diff)
downloadsrc-058c692e15d6d031553a4ec31cb5aeccd38846ab.tar.gz
src-058c692e15d6d031553a4ec31cb5aeccd38846ab.zip
lualoader: Refactor config line expressions
A couple of issues addressed: 1.) Modules with - in the name were not recognized as modules 2.) The module regex was repeated for each place a module name may appear 3.) The 'strip leading space' bits were repeated for each expression 4.) The trailing 'comment validation' stuff was repeated every expression #4 still has some more work to be done. exec lines, for instance, don't capture a 'value' -- there's only one capture pattern. This throws off the 'c' value that we match, so the trailing bits aren't *actually* being validated. This isn't a new issue, though, so a future comit will address this.
Notes
Notes: svn path=/head/; revision=338168
Diffstat (limited to 'sys/dev/drm2/radeon/radeon_drm.h')
0 files changed, 0 insertions, 0 deletions